Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
// contains filtered or unexported fields
}
func ParseConfig ¶
func (*Config) ConvertSQLBoilerModelsToApiModels ¶
type SQLBoilerConfig ¶
type SQLBoilerConfig struct {
Output string `toml:"output"`
PkgName string `toml:"pkgname"`
StructTagCases StructTagCases `toml:"struct-tag-cases"`
Erg ERGConfig `toml:"erg"`
}
type SQLBoilerName ¶
type SQLBoilerTable ¶
type SQLBoilerTable struct {
Name SQLBoilerName
Relations []SQLBoilerTableRelation
Columns []SQLBoilerTableColumn
Imports []string
}
type SQLBoilerTableColumn ¶
type SQLBoilerTableColumn struct {
IsPrimaryKey bool
Name SQLBoilerName
Type SQLBoilerType
IsRelation bool
}
type SQLBoilerTableColumnEnum ¶
type SQLBoilerTableColumnEnum struct {
Name SQLBoilerName
Values []SQLBoilerTableColumnEnumValue
Type SQLBoilerType
}
type SQLBoilerTableRelation ¶
type SQLBoilerTableRelation struct {
Name SQLBoilerName
MainTableName SQLBoilerName
IsMany bool
Type SQLBoilerType
}
type SQLBoilerType ¶
type StructTagCases ¶ added in v1.1.3
Click to show internal directories.
Click to hide internal directories.