package
Version:
v0.0.0-...-b20f607
Opens a new window with list of versions in this module.
Published: Jul 16, 2022
License: Apache-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Column struct {
Name string `yaml:"name"`
Type string `yaml:"type"`
DefaultValue interface{} `yaml:"default-value"`
Table *Table
}
type Field struct {
Name string `yaml:"name"`
Type string `yaml:"type"`
DefaultValue interface{} `yaml:"default-value"`
}
type GeneratorConfig struct {
Models []*Model `yaml:"models"`
Tables []*Table `yaml:"tables"`
}
type Model struct {
Name string `yaml:"name"`
Fields []*Field `yaml:"fields"`
ExternalModel string `yaml:"external-model"`
}
type RangeIndex struct {
Name string `yaml:"name"`
IK []string `yaml:"ik"`
Columns []string `yaml:"columns"`
Async bool `yaml:"async"`
Table *Table
}
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.