Versions in this module Expand all Collapse all v0 v0.0.1 Jan 22, 2024 v0.0.0 Jan 22, 2024 Changes in this version + type Annotation struct + BindTo string + func Bind() Annotation + func BindTo(schema string) Annotation + func (Annotation) Name() string + func (a *Annotation) Decode(annotation interface{}) error + type Config struct + Mappings map[*gen.Type]*Mapping + OgenPackage string + func (Config) Name() string + type EdgeMapping struct + From *gen.Edge + To *ir.Field + type EnumMapping struct + From gen.Enum + To *ir.EnumVariant + type Extension struct + func NewExtension(cfg ExtensionConfig) (*Extension, error) + func (ex *Extension) Annotations() []entc.Annotation + func (ex *Extension) Hooks() []gen.Hook + func (ex *Extension) Templates() []*gen.Template + type ExtensionConfig struct + API *openapi.API + OgenPackage string + Types map[string]*ir.Type + type FieldMapping struct + Enums []EnumMapping + From *gen.Field + To *ir.Field + type Mapping struct + EdgeMappings []EdgeMapping + FieldMappings []FieldMapping + From *gen.Type + To *ir.Type + func (m *Mapping) Comment() string + func (m *Mapping) EntFields() []*gen.Field