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 { Dates struct { From func(childComplexity int) int To func(childComplexity int) int } FullProfile struct { Description func(childComplexity int) int Email func(childComplexity int) int Image func(childComplexity int) int Jobs func(childComplexity int) int Name func(childComplexity int) int Projects func(childComplexity int) int Resume func(childComplexity int) int Technologies func(childComplexity int) int } Job struct { Company func(childComplexity int) int Dates func(childComplexity int) int Description func(childComplexity int) int Location func(childComplexity int) int Position func(childComplexity int) int } Project struct { Description func(childComplexity int) int Name func(childComplexity int) int Repository func(childComplexity int) int Technologies func(childComplexity int) int Website func(childComplexity int) int } Query struct { FullProfile func(childComplexity int, lang string) int } }
type Config ¶
type Config struct { Resolvers ResolverRoot Directives DirectiveRoot Complexity ComplexityRoot }
type DirectiveRoot ¶
type DirectiveRoot struct { }
type QueryResolver ¶
type ResolverRoot ¶
type ResolverRoot interface {
Query() QueryResolver
}
Click to show internal directories.
Click to hide internal directories.