Versions in this module Expand all Collapse all v0 v0.12.1 Aug 11, 2020 Changes in this version + var AllEnumTest = []EnumTest + var AllStatus = []Status + func MarshalBytes(b []byte) graphql.Marshaler + func MarshalThirdParty(tp ThirdParty) graphql.Marshaler + func NewExecutableSchema(cfg Config) graphql.ExecutableSchema + func UnmarshalBytes(v interface{}) ([]byte, error) + type A struct + ID string + func (A) IsTestUnion() + type AIt struct + ID string + type AbIt struct + ID string + type Animal interface + IsAnimal func() + type AsdfIt struct + ID string + type Autobind struct + IdInt int + IdStr string + Int int + Int32 int32 + Int64 int64 + type B struct + ID string + func (B) IsTestUnion() + type BackedByInterface interface + ThisShouldBind func() string + ThisShouldBindWithError func() (string, error) + type BackedByInterfaceImpl struct + Error error + Value string + func (b *BackedByInterfaceImpl) ThisShouldBind() string + func (b *BackedByInterfaceImpl) ThisShouldBindWithError() (string, error) + type BackedByInterfaceResolver interface + ID func(ctx context.Context, obj BackedByInterface) (string, error) + type Bytes []byte + type Cat struct + CatBreed string + Species string + func (Cat) IsAnimal() + type CheckIssue896 struct + ID *int + type Circle struct + Radius float64 + func (c *Circle) Area() float64 + type ComplexityRoot struct + A struct{ ... } + AIt struct{ ... } + AbIt struct{ ... } + AsdfIt struct{ ... } + Autobind struct{ ... } + B struct{ ... } + BackedByInterface struct{ ... } + Cat struct{ ... } + CheckIssue896 struct{ ... } + Circle struct{ ... } + ConcreteNodeA struct{ ... } + ConcreteNodeInterface struct{ ... } + ContentPost struct{ ... } + ContentUser struct{ ... } + Dog struct{ ... } + EmbeddedCase1 struct{ ... } + EmbeddedCase2 struct{ ... } + EmbeddedCase3 struct{ ... } + EmbeddedDefaultScalar struct{ ... } + EmbeddedPointer struct{ ... } + Error struct{ ... } + Errors struct{ ... } + ForcedResolver struct{ ... } + IIt struct{ ... } + InnerObject struct{ ... } + InvalidIdentifier struct{ ... } + It struct{ ... } + LoopA struct{ ... } + LoopB struct{ ... } + Map struct{ ... } + MapStringInterfaceType struct{ ... } + ModelMethods struct{ ... } + ObjectDirectives struct{ ... } + ObjectDirectivesWithCustomGoModel struct{ ... } + OuterObject struct{ ... } + OverlappingFields struct{ ... } + Panics struct{ ... } + Primitive struct{ ... } + PrimitiveString struct{ ... } + Query struct{ ... } + Rectangle struct{ ... } + Slices struct{ ... } + Subscription struct{ ... } + User struct{ ... } + ValidType struct{ ... } + WrappedStruct struct{ ... } + XXIt struct{ ... } + XxIt struct{ ... } + type ConcreteNodeA struct + ID string + Name string + func (n *ConcreteNodeA) Child() (Node, error) + type ConcreteNodeInterface interface + ID func() string + type ConcreteNodeInterfaceImplementor struct + func (c ConcreteNodeInterfaceImplementor) Child() (Node, error) + func (c ConcreteNodeInterfaceImplementor) ID() string + type Config struct + Complexity ComplexityRoot + Directives DirectiveRoot + Resolvers ResolverRoot + type ContentChild interface + IsContentChild func() + type ContentPost struct + Foo *string + func (ContentPost) IsContentChild() + type ContentUser struct + Foo *string + func (ContentUser) IsContentChild() + type DirectiveRoot struct + Custom func(ctx context.Context, obj interface{}, next graphql.Resolver) (res interface{}, err error) + Directive1 func(ctx context.Context, obj interface{}, next graphql.Resolver) (res interface{}, err error) + Directive2 func(ctx context.Context, obj interface{}, next graphql.Resolver) (res interface{}, err error) + Length func(ctx context.Context, obj interface{}, next graphql.Resolver, min int, max *int, ...) (res interface{}, err error) + Logged func(ctx context.Context, obj interface{}, next graphql.Resolver, id string) (res interface{}, err error) + MakeNil func(ctx context.Context, obj interface{}, next graphql.Resolver) (res interface{}, err error) + MakeTypedNil func(ctx context.Context, obj interface{}, next graphql.Resolver) (res interface{}, err error) + Order func(ctx context.Context, obj interface{}, next graphql.Resolver, location string) (res interface{}, err error) + Range func(ctx context.Context, obj interface{}, next graphql.Resolver, min *int, ...) (res interface{}, err error) + ToNull func(ctx context.Context, obj interface{}, next graphql.Resolver) (res interface{}, err error) + Unimplemented func(ctx context.Context, obj interface{}, next graphql.Resolver) (res interface{}, err error) + type Dog struct + DogBreed string + Species string + func (Dog) IsAnimal() + type EmbeddedCase1 struct + type EmbeddedCase2 struct + func (EmbeddedCase2) UnexportedEmbeddedPointerExportedMethod() string + type EmbeddedCase3 struct + type EmbeddedDefaultScalar struct + Value *string + type EmbeddedPointer struct + Title string + type EmbeddedPointerModel struct + ID string + type Empty interface + type EnumTest string + const EnumTestNg + const EnumTestOk + func (e *EnumTest) UnmarshalGQL(v interface{}) error + func (e EnumTest) IsValid() bool + func (e EnumTest) MarshalGQL(w io.Writer) + func (e EnumTest) String() string + type Error struct + ID string + func (Error) ErrorOnNonRequiredField() (string, error) + func (Error) ErrorOnRequiredField() (string, error) + func (Error) NilOnRequiredField() *string + type Errors struct + type ErrorsResolver interface + A func(ctx context.Context, obj *Errors) (*Error, error) + B func(ctx context.Context, obj *Errors) (*Error, error) + C func(ctx context.Context, obj *Errors) (*Error, error) + D func(ctx context.Context, obj *Errors) (*Error, error) + E func(ctx context.Context, obj *Errors) (*Error, error) + type ExportedEmbeddedPointerAfterInterface struct + func (*ExportedEmbeddedPointerAfterInterface) ExportedEmbeddedPointerExportedMethod() string + type FallbackToStringEncoding string + const FallbackToStringEncodingA + const FallbackToStringEncodingB + const FallbackToStringEncodingC + type ForcedResolver struct + Field Circle + type ForcedResolverResolver interface + Field func(ctx context.Context, obj *ForcedResolver) (*Circle, error) + type IIt struct + ID string + type InnerDirectives struct + Message string + type InnerInput struct + ID int + type InnerObject struct + ID int + type InputDirectives struct + Inner *InnerDirectives + InnerNullable *InnerDirectives + NullableText *string + Text string + ThirdParty *ThirdParty + type InputWithEnumValue struct + Enum EnumTest + type LoopA struct + B *LoopB + type LoopB struct + A *LoopA + type Map struct + ID string + type MarshalPanic string + func (m *MarshalPanic) UnmarshalGQL(v interface{}) error + func (m MarshalPanic) MarshalGQL(w io.Writer) + type ModelMethods struct + func (m ModelMethods) NoContext() bool + func (m ModelMethods) WithContext(_ context.Context) bool + type ModelMethodsResolver interface + ResolverField func(ctx context.Context, obj *ModelMethods) (bool, error) + type NestedMapInput struct + Map map[string]interface{} + type Node interface + Child func() (Node, error) + type ObjectDirectives struct + NullableText *string + Order []string + Text string + type ObjectDirectivesWithCustomGoModel struct + NullableText string + type OuterInput struct + Inner *InnerInput + type OuterObject struct + Inner *InnerObject + type OverlappingFields struct + Foo int + NewFoo int + type OverlappingFieldsResolver interface + OldFoo func(ctx context.Context, obj *OverlappingFields) (int, error) + type Panics struct + func (p *Panics) FieldFuncMarshal(ctx context.Context, u []MarshalPanic) []MarshalPanic + type PanicsResolver interface + ArgUnmarshal func(ctx context.Context, obj *Panics, u []MarshalPanic) (bool, error) + FieldScalarMarshal func(ctx context.Context, obj *Panics) ([]MarshalPanic, error) + type Primitive int + func (p Primitive) Squared() int + type PrimitiveResolver interface + Value func(ctx context.Context, obj *Primitive) (int, error) + type PrimitiveString string + func (s PrimitiveString) Doubled() string + type PrimitiveStringResolver interface + Len func(ctx context.Context, obj *PrimitiveString) (int, error) + Value func(ctx context.Context, obj *PrimitiveString) (string, error) + type QueryResolver interface + Animal func(ctx context.Context) (Animal, error) + Autobind func(ctx context.Context) (*Autobind, error) + Collision func(ctx context.Context) (*introspection1.It, error) + DefaultScalar func(ctx context.Context, arg string) (string, error) + DeprecatedField func(ctx context.Context) (string, error) + DirectiveArg func(ctx context.Context, arg string) (*string, error) + DirectiveDouble func(ctx context.Context) (*string, error) + DirectiveField func(ctx context.Context) (*string, error) + DirectiveFieldDef func(ctx context.Context, ret string) (string, error) + DirectiveInput func(ctx context.Context, arg InputDirectives) (*string, error) + DirectiveInputNullable func(ctx context.Context, arg *InputDirectives) (*string, error) + DirectiveInputType func(ctx context.Context, arg InnerInput) (*string, error) + DirectiveNullableArg func(ctx context.Context, arg *int, arg2 *int, arg3 *string) (*string, error) + DirectiveObject func(ctx context.Context) (*ObjectDirectives, error) + DirectiveObjectWithCustomGoModel func(ctx context.Context) (*ObjectDirectivesWithCustomGoModel, error) + DirectiveUnimplemented func(ctx context.Context) (*string, error) + EmbeddedCase1 func(ctx context.Context) (*EmbeddedCase1, error) + EmbeddedCase2 func(ctx context.Context) (*EmbeddedCase2, error) + EmbeddedCase3 func(ctx context.Context) (*EmbeddedCase3, error) + EnumInInput func(ctx context.Context, input *InputWithEnumValue) (EnumTest, error) + ErrorBubble func(ctx context.Context) (*Error, error) + Errors func(ctx context.Context) (*Errors, error) + Fallback func(ctx context.Context, arg FallbackToStringEncoding) (FallbackToStringEncoding, error) + InputSlice func(ctx context.Context, arg []string) (bool, error) + InvalidIdentifier func(ctx context.Context) (*invalid_packagename.InvalidIdentifier, error) + Issue896a func(ctx context.Context) ([]*CheckIssue896, error) + MapInput func(ctx context.Context, input map[string]interface{}) (*bool, error) + MapNestedStringInterface func(ctx context.Context, in *NestedMapInput) (map[string]interface{}, error) + MapStringInterface func(ctx context.Context, in map[string]interface{}) (map[string]interface{}, error) + ModelMethods func(ctx context.Context) (*ModelMethods, error) + NestedInputs func(ctx context.Context, input [][]*OuterInput) (*bool, error) + NestedOutputs func(ctx context.Context) ([][]*OuterObject, error) + NoShape func(ctx context.Context) (Shape, error) + NoShapeTypedNil func(ctx context.Context) (Shape, error) + Node func(ctx context.Context) (Node, error) + NotAnInterface func(ctx context.Context) (BackedByInterface, error) + NullableArg func(ctx context.Context, arg *int) (*string, error) + OptionalUnion func(ctx context.Context) (TestUnion, error) + Overlapping func(ctx context.Context) (*OverlappingFields, error) + Panics func(ctx context.Context) (*Panics, error) + PrimitiveObject func(ctx context.Context) ([]Primitive, error) + PrimitiveStringObject func(ctx context.Context) ([]PrimitiveString, error) + Recursive func(ctx context.Context, input *RecursiveInputSlice) (*bool, error) + ScalarSlice func(ctx context.Context) ([]byte, error) + ShapeUnion func(ctx context.Context) (ShapeUnion, error) + Shapes func(ctx context.Context) ([]Shape, error) + Slices func(ctx context.Context) (*Slices, error) + User func(ctx context.Context, id int) (*User, error) + Valid func(ctx context.Context) (string, error) + ValidType func(ctx context.Context) (*ValidType, error) + WrappedScalar func(ctx context.Context) (WrappedScalar, error) + WrappedStruct func(ctx context.Context) (*WrappedStruct, error) + type Rectangle struct + Length float64 + Width float64 + func (r *Rectangle) Area() float64 + type RecursiveInputSlice struct + Self []RecursiveInputSlice + type Resolver struct + func (r *Resolver) BackedByInterface() BackedByInterfaceResolver + func (r *Resolver) Errors() ErrorsResolver + func (r *Resolver) ForcedResolver() ForcedResolverResolver + func (r *Resolver) ModelMethods() ModelMethodsResolver + func (r *Resolver) OverlappingFields() OverlappingFieldsResolver + func (r *Resolver) Panics() PanicsResolver + func (r *Resolver) Primitive() PrimitiveResolver + func (r *Resolver) PrimitiveString() PrimitiveStringResolver + func (r *Resolver) Query() QueryResolver + func (r *Resolver) Subscription() SubscriptionResolver + func (r *Resolver) User() UserResolver + type ResolverRoot interface + BackedByInterface func() BackedByInterfaceResolver + Errors func() ErrorsResolver + ForcedResolver func() ForcedResolverResolver + ModelMethods func() ModelMethodsResolver + OverlappingFields func() OverlappingFieldsResolver + Panics func() PanicsResolver + Primitive func() PrimitiveResolver + PrimitiveString func() PrimitiveStringResolver + Query func() QueryResolver + Subscription func() SubscriptionResolver + User func() UserResolver + type Shape interface + Area func() float64 + type ShapeUnion interface + Area func() float64 + type Slices struct + Test1 []*string + Test2 []string + Test3 []*string + Test4 []string + type Status string + const StatusError + const StatusOk + func (e *Status) UnmarshalGQL(v interface{}) error + func (e Status) IsValid() bool + func (e Status) MarshalGQL(w io.Writer) + func (e Status) String() string + type Stub struct + BackedByInterfaceResolver struct{ ... } + ErrorsResolver struct{ ... } + ForcedResolverResolver struct{ ... } + ModelMethodsResolver struct{ ... } + OverlappingFieldsResolver struct{ ... } + PanicsResolver struct{ ... } + PrimitiveResolver struct{ ... } + PrimitiveStringResolver struct{ ... } + QueryResolver struct{ ... } + SubscriptionResolver struct{ ... } + UserResolver struct{ ... } + func (r *Stub) BackedByInterface() BackedByInterfaceResolver + func (r *Stub) Errors() ErrorsResolver + func (r *Stub) ForcedResolver() ForcedResolverResolver + func (r *Stub) ModelMethods() ModelMethodsResolver + func (r *Stub) OverlappingFields() OverlappingFieldsResolver + func (r *Stub) Panics() PanicsResolver + func (r *Stub) Primitive() PrimitiveResolver + func (r *Stub) PrimitiveString() PrimitiveStringResolver + func (r *Stub) Query() QueryResolver + func (r *Stub) Subscription() SubscriptionResolver + func (r *Stub) User() UserResolver + type SubscriptionResolver interface + DirectiveArg func(ctx context.Context, arg string) (<-chan *string, error) + DirectiveDouble func(ctx context.Context) (<-chan *string, error) + DirectiveNullableArg func(ctx context.Context, arg *int, arg2 *int, arg3 *string) (<-chan *string, error) + DirectiveUnimplemented func(ctx context.Context) (<-chan *string, error) + InitPayload func(ctx context.Context) (<-chan string, error) + Issue896b func(ctx context.Context) (<-chan []*CheckIssue896, error) + Updated func(ctx context.Context) (<-chan string, error) + type TestUnion interface + IsTestUnion func() + type ThirdParty struct + func UnmarshalThirdParty(input interface{}) (ThirdParty, error) + type User struct + Created time.Time + Friends []*User + ID int + Updated *time.Time + type UserResolver interface + Friends func(ctx context.Context, obj *User) ([]*User, error) + type ValidInput struct + Break string + Case string + Chan string + Const string + Continue string + Default string + Defer string + Else string + Fallthrough string + For string + Func string + Go string + Goto string + If string + Import string + Interface string + Map string + Package string + Range string + Return string + Select string + Struct string + Switch string + Type string + Underscore string + Var string + type ValidType struct + DifferentCase string + DifferentCaseOld string + ValidArgs bool + ValidInputKeywords bool + type WrappedScalar otherpkg.Scalar + type WrappedStruct otherpkg.Struct + type XXIt struct + ID string + type XxIt struct + ID string