Versions in this module Expand all Collapse all v0 v0.0.1 Jul 4, 2023 Changes in this version + type Arguments map[string]Value + func (a Arguments) String() string + type BooleanValue bool + func (v BooleanValue) MarshalJSON() ([]byte, error) + func (v BooleanValue) String() string + type Directive struct + Arguments Arguments + Directive string + func (d *Directive) String() string + type Directives []*Directive + func (ds Directives) String() string + type Document struct + Fragments map[string]*Fragment + Operations map[string]*Operation + func Parse(v string) (*Document, error) + func (d *Document) String() string + type EnumValue string + func (v EnumValue) MarshalJSON() ([]byte, error) + func (v EnumValue) String() string + type Field struct + Alias string + Arguments Arguments + Directives Directives + Name string + SelectionSet SelectionSet + func (f *Field) MarshalJSON() ([]byte, error) + func (f *Field) String() string + type Fragment struct + Directives Directives + Name string + SelectionSet SelectionSet + TypeCondition *TypeCondition + func (f *Fragment) String() string + type FragmentSpread struct + Directives Directives + Name string + func (f *FragmentSpread) MarshalJSON() ([]byte, error) + func (f *FragmentSpread) String() string + type InlineFragment struct + Directives Directives + SelectionSet SelectionSet + TypeCondition *TypeCondition + func (f *InlineFragment) MarshalJSON() ([]byte, error) + func (i *InlineFragment) String() string + type NullValue struct + func (v NullValue) MarshalJSON() ([]byte, error) + func (v NullValue) String() string + type Operation struct + Directives Directives + Name string + OperationType OperationType + SelectionSet SelectionSet + VariableDefinitions VariableDefinitions + func (op *Operation) String() string + type OperationType int + const Mutation + const Query + const Subscription + func (o OperationType) MarshalJSON() ([]byte, error) + func (o OperationType) String() string + type Parser struct + type Selection interface + String func() string + type SelectionSet []Selection + func (s SelectionSet) String() string + type StringValue string + func (s StringValue) MarshalJSON() ([]byte, error) + func (s StringValue) String() string + type Token interface + String func() string + type TypeCondition struct + NamedType string + func (t *TypeCondition) String() string + type Value interface + String func() string + type VariableDefinition struct + DefaultValue Value + Type string + Variable string + type VariableDefinitions []*VariableDefinition + func (v VariableDefinitions) String() string + type VariableValue struct + Var string + func (v *VariableValue) MarshalJSON() ([]byte, error) + func (v *VariableValue) String() string