Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewExecutableSchema ¶
func NewExecutableSchema(cfg Config) graphql.ExecutableSchema
NewExecutableSchema creates an ExecutableSchema from the ResolverRoot interface.
Types ¶
type ComplexityRoot ¶
type ComplexityRoot struct { Account struct { DocumentNumber func(childComplexity int) int ID func(childComplexity int) int } Mutation struct { CreateAccount func(childComplexity int, input model.NewAccount) int } OperationsType struct { Description func(childComplexity int) int ID func(childComplexity int) int } Query struct { Account func(childComplexity int, id int) int Accounts func(childComplexity int) int OperationsTypes func(childComplexity int) int Transactions func(childComplexity int) int } Transaction struct { Account func(childComplexity int) int AccountID func(childComplexity int) int Amount func(childComplexity int) int EventDate func(childComplexity int) int ID func(childComplexity int) int OperationsType func(childComplexity int) int OperationsTypeID func(childComplexity int) int } }
type Config ¶
type Config struct { Resolvers ResolverRoot Directives DirectiveRoot Complexity ComplexityRoot }
type DirectiveRoot ¶
type DirectiveRoot struct { }
type MutationResolver ¶
type QueryResolver ¶
type ResolverRoot ¶
type ResolverRoot interface { Mutation() MutationResolver Query() QueryResolver }
Click to show internal directories.
Click to hide internal directories.