Documentation ¶
Overview ¶
Package resolvergen provides the a resolver template for the gqlgen resolver plugin to override the default resolver functions
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ResolverPlugin ¶
type ResolverPlugin struct { *resolvergen.Plugin // contains filtered or unexported fields }
ResolverPlugin is a gqlgen plugin to generate resolver functions
func (*ResolverPlugin) GenerateCode ¶
func (r *ResolverPlugin) GenerateCode(data *codegen.Data) error
GenerateCode implements api.CodeGenerator
func (*ResolverPlugin) Implement ¶
func (r *ResolverPlugin) Implement(s string, f *codegen.Field) (val string)
Implement gqlgen api.ResolverImplementer
func (ResolverPlugin) Name ¶
func (r ResolverPlugin) Name() string
Name returns the name of the plugin This name must match the upstream resolvergen to replace during code generation
Click to show internal directories.
Click to hide internal directories.