Versions in this module Expand all Collapse all v0 v0.4.4 Aug 21, 2018 Changes in this version + func NewExecutableSchema(cfg Config) graphql.ExecutableSchema + type Circle struct + Radius float64 + func (c *Circle) Area() float64 + type Config struct + Directives DirectiveRoot + Resolvers ResolverRoot + type DirectiveRoot struct + type Element struct + ID int + type ElementResolver struct + func (r *ElementResolver) Element_child(ctx context.Context, obj *Element) (Element, error) + func (r *ElementResolver) Element_error(ctx context.Context, obj *Element, message *string) (bool, error) + func (r *ElementResolver) Query_path(ctx context.Context) ([]Element, error) + type ForcedResolver struct + Field Circle + type ForcedResolverResolver interface + Field func(ctx context.Context, obj *ForcedResolver) (*Circle, error) + type InnerInput struct + ID int + func UnmarshalInnerInput(v interface{}) (InnerInput, error) + type InnerObject struct + ID int + type Keywords 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 + Var string + func UnmarshalKeywords(v interface{}) (Keywords, error) + type OuterInput struct + Inner InnerInput + func UnmarshalOuterInput(v interface{}) (OuterInput, error) + type OuterObject struct + Inner InnerObject + type QueryResolver interface + Collision func(ctx context.Context) (*introspection1.It, error) + InvalidIdentifier func(ctx context.Context) (*invalid_packagename.InvalidIdentifier, error) + KeywordArgs func(ctx context.Context, breakArg string, defaultArg string, funcArg string, ...) (bool, error) + Keywords func(ctx context.Context, input *Keywords) (bool, error) + MapInput func(ctx context.Context, input *map[string]interface{}) (*bool, error) + NestedInputs func(ctx context.Context, input [][]*OuterInput) (*bool, error) + NestedOutputs func(ctx context.Context) ([][]*OuterObject, error) + Recursive func(ctx context.Context, input *RecursiveInputSlice) (*bool, error) + Shapes func(ctx context.Context) ([]*Shape, error) + type Rectangle struct + Length float64 + Width float64 + func (r *Rectangle) Area() float64 + type RecursiveInputSlice struct + Self []RecursiveInputSlice + func UnmarshalRecursiveInputSlice(v interface{}) (RecursiveInputSlice, error) + type Resolver struct + func (r *Resolver) ForcedResolver() ForcedResolverResolver + func (r *Resolver) Query() QueryResolver + type ResolverRoot interface + ForcedResolver func() ForcedResolverResolver + Query func() QueryResolver + type Shape interface + Area func() float64 + type ShapeUnion interface + Area func() float64