Versions in this module Expand all Collapse all v0 v0.10.0 Oct 25, 2024 Changes in this version + func NewExecutableSchema(cfg Config) graphql.ExecutableSchema + type ComplexityRoot struct + Mutation struct{ ... } + Query struct{ ... } + User struct{ ... } + type Config struct + Complexity ComplexityRoot + Directives DirectiveRoot + Resolvers ResolverRoot + Schema *ast.Schema + type DirectiveRoot struct + type MutationResolver interface + RegisterUser func(ctx context.Context, name string) (bool, error) + type QueryResolver interface + Root func(ctx context.Context, num *int, rootInput *model.RootInput) (bool, error) + User func(ctx context.Context, name string) (*model.User, error) + type ResolverRoot interface + Mutation func() MutationResolver + Query func() QueryResolver + User func() UserResolver + type UserResolver interface + Age func(ctx context.Context, obj *model.User) (*int, error) + Name func(ctx context.Context, obj *model.User) (string, error)