Versions in this module Expand all Collapse all v1 v1.9.9 Jul 30, 2020 v1.3.3 Jul 30, 2020 Changes in this version + func NewExecutableSchema(cfg Config) graphql.ExecutableSchema + type ComplexityRoot struct + Entity struct{ ... } + Product struct{ ... } + Query struct{} + Review struct{ ... } + Service struct{ ... } + User struct{ ... } + type Config struct + Complexity ComplexityRoot + Directives DirectiveRoot + Resolvers ResolverRoot + type DirectiveRoot struct + type EntityResolver interface + FindProductByUpc func(ctx context.Context, upc string) (*model.Product, error) + FindUserByID func(ctx context.Context, id string) (*model.User, error) + type ProductResolver interface + Reviews func(ctx context.Context, obj *model.Product) ([]*model.Review, error) + type ResolverRoot interface + Entity func() EntityResolver + Product func() ProductResolver + User func() UserResolver + type UserResolver interface + Reviews func(ctx context.Context, obj *model.User) ([]*model.Review, error)