Versions in this module Expand all Collapse all v0 v0.15.2 Jan 18, 2022 Changes in this version + func New() plugin.Plugin + type BuildMutateHook = func(b *ModelBuild) *ModelBuild + type Enum struct + Description string + Name string + Values []*EnumValue + type EnumValue struct + Description string + Name string + type Field struct + Description string + Name string + Tag string + Type types.Type + func GoTagFieldHook(td *ast.Definition, fd *ast.FieldDefinition, f *Field) (*Field, error) + type FieldMutateHook = func(td *ast.Definition, fd *ast.FieldDefinition, f *Field) (*Field, error) + type Interface struct + Description string + Name string + type ModelBuild struct + Enums []*Enum + Interfaces []*Interface + Models []*Object + PackageName string + Scalars []string + type Object struct + Description string + Fields []*Field + Implements []string + Name string + type Plugin struct + FieldHook FieldMutateHook + MutateHook BuildMutateHook + func (m *Plugin) MutateConfig(cfg *config.Config) error + func (m *Plugin) Name() string