Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AllProductName = []ProductName{ ProductNameConsultancy, ProductNameCosmo, ProductNameEngine, ProductNameFinance, ProductNameHumanResources, ProductNameMarketing, ProductNameSdk, }
View Source
var AllTopSecretFactType = []TopSecretFactType{ TopSecretFactTypeDirective, TopSecretFactTypeEntity, TopSecretFactTypeMiscellaneous, }
Functions ¶
This section is empty.
Types ¶
type Consultancy ¶
type Consultancy struct { Upc string `json:"upc"` Name ProductName `json:"name"` }
func (Consultancy) IsEntity ¶
func (Consultancy) IsEntity()
func (Consultancy) IsProducts ¶
func (Consultancy) IsProducts()
type Cosmo ¶
type Cosmo struct { Upc string `json:"upc"` Name ProductName `json:"name"` RepositoryURL string `json:"repositoryURL"` }
func (Cosmo) IsProducts ¶
func (Cosmo) IsProducts()
type DirectiveFact ¶
type DirectiveFact struct { Title string `json:"title"` Description string `json:"description"` FactType *TopSecretFactType `json:"factType,omitempty"` }
func (DirectiveFact) GetDescription ¶
func (this DirectiveFact) GetDescription() string
func (DirectiveFact) GetFactType ¶
func (this DirectiveFact) GetFactType() *TopSecretFactType
func (DirectiveFact) IsTopSecretFact ¶
func (DirectiveFact) IsTopSecretFact()
type Documentation ¶
func (Documentation) IsProducts ¶
func (Documentation) IsProducts()
type Employee ¶
type Employee struct { ID int `json:"id"` Products []ProductName `json:"products"` ProductCount int `json:"productCount"` Notes *string `json:"notes,omitempty"` }
type EntityFact ¶
type EntityFact struct { Title string `json:"title"` Description string `json:"description"` FactType *TopSecretFactType `json:"factType,omitempty"` }
func (EntityFact) GetDescription ¶
func (this EntityFact) GetDescription() string
func (EntityFact) GetFactType ¶
func (this EntityFact) GetFactType() *TopSecretFactType
func (EntityFact) IsTopSecretFact ¶
func (EntityFact) IsTopSecretFact()
type MiscellaneousFact ¶
type MiscellaneousFact struct { Title string `json:"title"` Description string `json:"description"` FactType *TopSecretFactType `json:"factType,omitempty"` }
func (MiscellaneousFact) GetDescription ¶
func (this MiscellaneousFact) GetDescription() string
func (MiscellaneousFact) GetFactType ¶
func (this MiscellaneousFact) GetFactType() *TopSecretFactType
func (MiscellaneousFact) IsTopSecretFact ¶
func (MiscellaneousFact) IsTopSecretFact()
type ProductName ¶
type ProductName string
const ( ProductNameConsultancy ProductName = "CONSULTANCY" ProductNameCosmo ProductName = "COSMO" ProductNameEngine ProductName = "ENGINE" ProductNameFinance ProductName = "FINANCE" ProductNameHumanResources ProductName = "HUMAN_RESOURCES" ProductNameMarketing ProductName = "MARKETING" ProductNameSdk ProductName = "SDK" )
func (ProductName) IsValid ¶
func (e ProductName) IsValid() bool
func (ProductName) MarshalGQL ¶
func (e ProductName) MarshalGQL(w io.Writer)
func (ProductName) String ¶
func (e ProductName) String() string
func (*ProductName) UnmarshalGQL ¶
func (e *ProductName) UnmarshalGQL(v interface{}) error
type TopSecretFact ¶
type TopSecretFact interface { IsTopSecretFact() GetDescription() string GetFactType() *TopSecretFactType }
type TopSecretFactInput ¶
type TopSecretFactInput struct { Title string `json:"title"` Description string `json:"description"` FactType TopSecretFactType `json:"factType"` }
type TopSecretFactType ¶
type TopSecretFactType string
const ( TopSecretFactTypeDirective TopSecretFactType = "DIRECTIVE" TopSecretFactTypeEntity TopSecretFactType = "ENTITY" TopSecretFactTypeMiscellaneous TopSecretFactType = "MISCELLANEOUS" )
func (TopSecretFactType) IsValid ¶
func (e TopSecretFactType) IsValid() bool
func (TopSecretFactType) MarshalGQL ¶
func (e TopSecretFactType) MarshalGQL(w io.Writer)
func (TopSecretFactType) String ¶
func (e TopSecretFactType) String() string
func (*TopSecretFactType) UnmarshalGQL ¶
func (e *TopSecretFactType) UnmarshalGQL(v interface{}) error
Click to show internal directories.
Click to hide internal directories.