Documentation ¶
Index ¶
Constants ¶
View Source
const ( Query OperationType = "QUERY" Mutation = "MUTATION" Subscription = "SUBSCRIPTION" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Document ¶
type Document struct { Operations OperationList Fragments FragmentList }
type FragmentDecl ¶
type FragmentList ¶
type FragmentList []*FragmentDecl
func (FragmentList) Get ¶
func (l FragmentList) Get(name string) *FragmentDecl
type FragmentSpread ¶
type InlineFragment ¶
type InlineFragment struct { Fragment Directives common.DirectiveList Loc errors.Location }
type Operation ¶
type Operation struct { Type OperationType Name common.Ident Vars common.InputValueList Selections []Selection Directives common.DirectiveList Loc errors.Location }
type OperationList ¶
type OperationList []*Operation
func (OperationList) Get ¶
func (l OperationList) Get(name string) *Operation
type OperationType ¶
type OperationType string
Click to show internal directories.
Click to hide internal directories.