ent: github.com/facebookincubator/ent/entc/integration/ent/role Index | Files

package role

import "github.com/facebookincubator/ent/entc/integration/ent/role"

Index

Package Files

role.go

type Role Uses

type Role string
const (
    Admin Role = "ADMIN"
    Owner Role = "OWNER"
    User  Role = "USER"
    Read  Role = "READ"
    Write Role = "WRITE"
)

func (Role) Values Uses

func (Role) Values() (roles []string)

Package role is imported by 3 packages. Updated 2020-07-30. Refresh now. Tools for package owners.