Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AllProductNames = []ProductNames{ ProductNamesCloud, ProductNamesCosmo, ProductNamesEngine, ProductNamesFinance, ProductNamesHumanResources, ProductNamesMarketing, ProductNamesSdk, }
Functions ¶
This section is empty.
Types ¶
type Employee ¶
type Employee struct { ID int `json:"id"` Products []ProductNames `json:"products"` }
type ProductNames ¶
type ProductNames string
const ( ProductNamesCloud ProductNames = "CLOUD" ProductNamesCosmo ProductNames = "COSMO" ProductNamesEngine ProductNames = "ENGINE" ProductNamesFinance ProductNames = "FINANCE" ProductNamesHumanResources ProductNames = "HUMAN_RESOURCES" ProductNamesMarketing ProductNames = "MARKETING" ProductNamesSdk ProductNames = "SDK" )
func (ProductNames) IsValid ¶
func (e ProductNames) IsValid() bool
func (ProductNames) MarshalGQL ¶
func (e ProductNames) MarshalGQL(w io.Writer)
func (ProductNames) String ¶
func (e ProductNames) String() string
func (*ProductNames) UnmarshalGQL ¶
func (e *ProductNames) UnmarshalGQL(v interface{}) error
Click to show internal directories.
Click to hide internal directories.