Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ColumnParam ¶
type Config ¶
type Config struct { TargetSchema string `yaml:"targetSchema" json:"targetSchema"` TemplateConfigs []TemplateConfig `yaml:"templateConfigs" json:"templateConfigs"` }
type Generator ¶
func NewGenerator ¶
func NewGenerator(opts ...GeneratorOption) *Generator
type GeneratorOption ¶
type GeneratorOption func(*Generator)
func WithFuncMap ¶
func WithFuncMap(funcMap template.FuncMap) GeneratorOption
type Param ¶
type Param struct {
TableParams []TableParam
}
type TableParam ¶
type TableParam struct { TableName string TableNameCamel string TableNameCamelFU string Columns []ColumnParam }
type TemplateConfig ¶
Click to show internal directories.
Click to hide internal directories.