package resolvergen
import "github.com/99designs/gqlgen/plugin/resolvergen"
Index ¶
Functions ¶
func New ¶
Types ¶
type File ¶
type File struct { // These are separated because the type definition of the resolver object may live in a different file from the // resolver method implementations, for example when extending a type in a different graphql schema file Objects []*codegen.Object Resolvers []*Resolver RemainingSource string // contains filtered or unexported fields }
func (*File) Imports ¶
type Plugin ¶
type Plugin struct{}
func (*Plugin) GenerateCode ¶
func (*Plugin) Name ¶
type Resolver ¶
type Resolver struct { Object *codegen.Object Field *codegen.Field PrevDecl *ast.FuncDecl Comment string ImplementationStr string ImplementationRender func(prevImplementation string, r *codegen.Field) string }
func (*Resolver) Implementation ¶
type ResolverBuild ¶
type ResolverBuild struct { *File HasRoot bool PackageName string ResolverType string OmitTemplateComment bool }
Source Files ¶
- Version
- v0.17.74 (latest)
- Published
- Jun 2, 2025
- Platform
- linux/amd64
- Imports
- 15 packages
- Last checked
- 18 hours ago –
Tools for package owners.