package
Version:
v0.4.2
Opens a new window with list of versions in this module.
Published: Apr 14, 2022
License: Apache-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Validator is a validator for the "role" field enum values. It is called by the builders before save.
const (
Admin Role = "ADMIN"
User Role = "USER"
Unknown Role = "UNKNOWN"
)
MarshalGQL implements graphql.Marshaler interface.
func (e *Role) UnmarshalGQL(val interface{}) error
UnmarshalGQL implements graphql.Unmarshaler interface.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.