Versions in this module Expand all Collapse all v0 v0.0.2 Apr 18, 2024 Changes in this version + type Project struct + GeneratedFilePrefix string + Name string + ParentPackageName string + ResourceTypeNameToActionMap map[string][]string + Resources Resources + func NewProject(options ...ProjectOption) *Project + func (p *Project) ConfigOverride(cfg *config.Config) error + func (p *Project) ConstraintFieldHook(td *ast.Definition, fd *ast.FieldDefinition, f *modelgen.Field) (*modelgen.Field, error) + func (p *Project) GetType() string + func (p *Project) Init(Name string, ParentPackageName string, GeneratedFilePrefix string) error + func (p *Project) ModelMutationHook(b *modelgen.ModelBuild) *modelgen.ModelBuild + func (p *Project) PrepareTemplateData() *TemplateData + func (p *Project) SchemaDocumentHook(schemaDocument *ast.SchemaDocument) error + func (p *Project) SchemaHook(schema *ast.Schema) error + func (p *Project) StandardTemplateBundleList() *tmpl.TemplateBundleList + func (p *Project) TestsDirectory() string + type ProjectOption = func(project *Project) error + func WithTestDir(dir string) ProjectOption + type Resources map[string]string + func (r *Resources) KeyExists(key string) bool + func (r *Resources) TypeExists(value string) bool + type TemplateData struct + GeneratedGqlgenPackageName string + Name string + ParentPackageName string + ResourceTypeNameToActionMap map[string][]string + Resources map[string]string + TestsDir string