Versions in this module Expand all Collapse all v0 v0.0.9 Sep 8, 2022 Changes in this version + type DirectiveFunc func(ctx context.Context, directive *Directive, input interface{}) (context.Context, error) v0.0.8 Sep 8, 2022 Changes in this version + type Argument struct + Name Ident + Value Value + type ArgumentList []*Argument + func (l ArgumentList) Get(name string) (Value, bool) + func (l ArgumentList) MustGet(name string) Value + type ArgumentsDefinition []*InputValueDefinition + func (a ArgumentsDefinition) Get(name string) *InputValueDefinition + type Directive struct + Arguments ArgumentList + Name Ident + type DirectiveDefinition struct + Arguments ArgumentsDefinition + Desc string + Loc errors.Location + Locations []string + Name string + Repeatable bool + type DirectiveExecutor interface + Exec func(ctx context.Context, directive *Directive, input interface{}) (context.Context, error) + type DirectiveList []*Directive + func (l DirectiveList) Get(name string) *Directive + type EnumTypeDefinition struct + Desc string + Directives DirectiveList + EnumValuesDefinition []*EnumValueDefinition + Loc errors.Location + Name string + func (*EnumTypeDefinition) Kind() string + func (t *EnumTypeDefinition) Description() string + func (t *EnumTypeDefinition) String() string + func (t *EnumTypeDefinition) TypeName() string + type EnumValueDefinition struct + Desc string + Directives DirectiveList + EnumValue string + Loc errors.Location + type ExecutableDefinition struct + Fragments FragmentList + Operations OperationList + type Extension struct + Directives DirectiveList + Loc errors.Location + Type NamedType + type Field struct + Alias Ident + Arguments ArgumentList + Directives DirectiveList + Name Ident + SelectionSet SelectionSet + SelectionSetLoc errors.Location + type FieldDefinition struct + Arguments ArgumentsDefinition + Desc string + Directives DirectiveList + Loc errors.Location + Name string + Type Type + type FieldsDefinition []*FieldDefinition + func (l FieldsDefinition) Get(name string) *FieldDefinition + func (l FieldsDefinition) Names() []string + type Fragment struct + On TypeName + Selections SelectionSet + type FragmentDefinition struct + Directives DirectiveList + Loc errors.Location + Name Ident + type FragmentList []*FragmentDefinition + func (l FragmentList) Get(name string) *FragmentDefinition + type FragmentSpread struct + Directives DirectiveList + Loc errors.Location + Name Ident + type Ident struct + Loc errors.Location + Name string + type InlineFragment struct + Directives DirectiveList + Loc errors.Location + type InputObject struct + Desc string + Directives DirectiveList + Loc errors.Location + Name string + Values ArgumentsDefinition + func (*InputObject) Kind() string + func (t *InputObject) Description() string + func (t *InputObject) String() string + func (t *InputObject) TypeName() string + type InputValueDefinition struct + Default Value + Desc string + Directives DirectiveList + Loc errors.Location + Name Ident + Type Type + TypeLoc errors.Location + type InputValueDefinitionList []*InputValueDefinition + func (l InputValueDefinitionList) Get(name string) *InputValueDefinition + type InterfaceTypeDefinition struct + Desc string + Directives DirectiveList + Fields FieldsDefinition + Interfaces []*InterfaceTypeDefinition + Loc errors.Location + Name string + PossibleTypes []*ObjectTypeDefinition + func (*InterfaceTypeDefinition) Kind() string + func (t *InterfaceTypeDefinition) Description() string + func (t *InterfaceTypeDefinition) String() string + func (t *InterfaceTypeDefinition) TypeName() string + type List struct + OfType Type + func (*List) Kind() string + func (t *List) String() string + type ListValue struct + Loc errors.Location + Values []Value + func (val *ListValue) Deserialize(vars map[string]interface{}) interface{} + func (val *ListValue) Location() errors.Location + func (val *ListValue) String() string + type NamedType interface + Description func() string + TypeName func() string + type NonNull struct + OfType Type + func (*NonNull) Kind() string + func (t *NonNull) String() string + type NullValue struct + Loc errors.Location + func (val *NullValue) Deserialize(vars map[string]interface{}) interface{} + func (val *NullValue) Location() errors.Location + func (val *NullValue) String() string + type ObjectField struct + Name Ident + Value Value + type ObjectTypeDefinition struct + Desc string + Directives DirectiveList + Fields FieldsDefinition + InterfaceNames []string + Interfaces []*InterfaceTypeDefinition + Loc errors.Location + Name string + func (*ObjectTypeDefinition) Kind() string + func (t *ObjectTypeDefinition) Description() string + func (t *ObjectTypeDefinition) String() string + func (t *ObjectTypeDefinition) TypeName() string + type ObjectValue struct + Fields []*ObjectField + Loc errors.Location + func (val *ObjectValue) Deserialize(vars map[string]interface{}) interface{} + func (val *ObjectValue) Location() errors.Location + func (val *ObjectValue) String() string + type OperationDefinition struct + Directives DirectiveList + Loc errors.Location + Name Ident + Selections SelectionSet + Type OperationType + Vars ArgumentsDefinition + type OperationList []*OperationDefinition + func (l OperationList) Get(name string) *OperationDefinition + type OperationType string + type PrimitiveValue struct + Loc errors.Location + Text string + Type rune + func (val *PrimitiveValue) Deserialize(vars map[string]interface{}) interface{} + func (val *PrimitiveValue) Location() errors.Location + func (val *PrimitiveValue) String() string + type ScalarTypeDefinition struct + Desc string + Directives DirectiveList + Loc errors.Location + Name string + func (*ScalarTypeDefinition) Kind() string + func (t *ScalarTypeDefinition) Description() string + func (t *ScalarTypeDefinition) String() string + func (t *ScalarTypeDefinition) TypeName() string + type Schema struct + Directives map[string]*DirectiveDefinition + EntryPointNames map[string]string + EntryPoints map[string]NamedType + Enums []*EnumTypeDefinition + Extensions []*Extension + Objects []*ObjectTypeDefinition + SchemaString string + Types map[string]NamedType + Unions []*Union + UseFieldResolvers bool + func (s *Schema) Resolve(name string) Type + type Selection interface + type SelectionSet []Selection + type Type interface + Kind func() string + String func() string + type TypeName struct + func (*TypeName) Kind() string + func (*TypeName) String() string + type Union struct + Desc string + Directives DirectiveList + Loc errors.Location + Name string + TypeNames []string + UnionMemberTypes []*ObjectTypeDefinition + func (*Union) Kind() string + func (t *Union) Description() string + func (t *Union) String() string + func (t *Union) TypeName() string + type Value interface + Deserialize func(vars map[string]interface{}) interface{} + Location func() errors.Location + String func() string + type Variable struct + Loc errors.Location + Name string + func (v *Variable) Location() errors.Location + func (v Variable) Deserialize(vars map[string]interface{}) interface{} + func (v Variable) String() string