Documentation ¶
Index ¶
- Constants
- func HandleCfg(inCfg *models.Config) (cfg *models.Config, err error)
- func IsStandardColumn(column string) bool
- func IsStandardType(t string) bool
- func IsTimeFormat(format string) bool
- func IsTypesAdditionalType(BusinessType string) bool
- func ReadYAMLCfg(file string) (*models.Config, error)
- func SortColumns(columns map[string]models.Options) []string
Constants ¶
View Source
const (
TypesPrefix = "types."
)
Variables ¶
This section is empty.
Functions ¶
func IsStandardColumn ¶
IsStandardColumn check if column is one of column which description column with auto substituted when model is created or modified
func IsTimeFormat ¶
IsTimeFormat return true if format is one of timeFormats value
func IsTypesAdditionalType ¶
IsTypesAdditionalType return true if go type is from types package
func ReadYAMLCfg ¶
ReadYAMLCfg create models.Config from configFile
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.