Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Normalize ¶
func Normalize(mm *EntityMetaModel) error
Types ¶
type EntityMetaModel ¶
type EntityMetaModel struct { Name string TableName string `yaml:"tableName"` Fields []*EntityMetaModelField }
type EntityMetaModelField ¶
type MetaModelTemplate ¶
type MetaModelTemplate struct { Name string // template name. Filename string FilenameFormat func(ctx context.Context, mm *EntityMetaModel) string Skip func(ctx context.Context, mm *EntityMetaModel) bool }
func (MetaModelTemplate) Template ¶
func (mt MetaModelTemplate) Template() gen.Template
Click to show internal directories.
Click to hide internal directories.