Documentation ¶
Index ¶
Constants ¶
View Source
const ( // SCALAR is a __TypeKind of type SCALAR SCALAR __TypeKind = iota // LIST is a __TypeKind of type LIST LIST // NON_NULL is a __TypeKind of type NON_NULL NON_NULL // OBJECT is a __TypeKind of type OBJECT OBJECT // ENUM is a __TypeKind of type ENUM ENUM // INTERFACE is a __TypeKind of type INTERFACE INTERFACE // UNION is a __TypeKind of type UNION UNION // INPUT_OBJECT is a __TypeKind of type INPUT_OBJECT INPUT_OBJECT )
Variables ¶
This section is empty.
Functions ¶
func Parse__TypeKind ¶
Parse__TypeKind attempts to convert a string to a __TypeKind
Types ¶
type Directive ¶
type Directive struct { Name string `json:"name"` Description string `json:"description"` Locations []string `json:"locations"` Args []InputValue `json:"args"` }
func NewDirective ¶
func NewDirective() Directive
type Field ¶
type FullType ¶
type FullType struct { Kind __TypeKind `json:"kind"` Name string `json:"name"` Description string `json:"description"` Fields []Field `json:"fields"` InputFields []InputValue `json:"inputFields"` Interfaces []TypeRef `json:"interfaces"` EnumValues []EnumValue `json:"enumValues"` PossibleTypes []TypeRef `json:"possibleTypes"` }
func NewFullType ¶
func NewFullType() FullType
type InputValue ¶
Click to show internal directories.
Click to hide internal directories.