Documentation ¶
Index ¶
- Variables
- func Columns(database string) []*Column
- func GetCfgGenerator(CFG *Configuration) Generator
- func GetControllerGenerators(CFG *Configuration, modelGenerators []Generator) []Generator
- func GetMapperGenerators(CFG *Configuration, modelGenerators []Generator) []Generator
- func GetModelGenerators(CFG *Configuration, tableMap map[string]*Table) []Generator
- func GetServiceGenerators(CFG *Configuration, modelGenerators []Generator) []Generator
- func Init(dsn string)
- func SetTableColumns(tableMap map[string]*Table, columnMap map[string]*[]*Column)
- func Tables(database string, c *Configuration) []*Table
- func TransformColumns(columns []*Column) map[string]*[]*Column
- func TransformTables(tables []*Table) map[string]*Table
Constants ¶
This section is empty.
Variables ¶
View Source
var ( SelectTableListSelectMapper *SelectMapper SelectTableColumnListSelectMapper *SelectMapper )
Functions ¶
func GetCfgGenerator ¶
func GetCfgGenerator(CFG *Configuration) Generator
func GetControllerGenerators ¶
func GetControllerGenerators(CFG *Configuration, modelGenerators []Generator) []Generator
func GetMapperGenerators ¶
func GetMapperGenerators(CFG *Configuration, modelGenerators []Generator) []Generator
func GetModelGenerators ¶
func GetModelGenerators(CFG *Configuration, tableMap map[string]*Table) []Generator
func GetServiceGenerators ¶
func GetServiceGenerators(CFG *Configuration, modelGenerators []Generator) []Generator
func SetTableColumns ¶
func TransformColumns ¶
func TransformColumns(columns []*Column) map[string]*[]*Column
func TransformTables ¶
func TransformTables(tables []*Table) map[string]*Table
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.