Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CFG = &Configuration{ Module: "", OutputDir: "", Verbose: false, IncludeTables: make([]string, 0), ExcludeTables: make([]string, 0), Global: &GlobalConfiguration{ Author: "bill", Date: true, DateLayout: "2006-01-02", Copyright: true, CopyrightContent: "A Go source code generator written in Golang", Website: true, WebsiteContent: "https://github.com/billcoding/gocode-generator", }, Entity: &EntityConfiguration{ PKG: "entity", TableToEntityStrategy: UnderlineToUpper, ColumnToFieldStrategy: UnderlineToUpper, FileNameStrategy: Default, JSONTag: true, JSONTagKeyStrategy: Default, FieldIdUpper: true, Comment: true, FieldComment: true, NamePrefix: "", NameSuffix: "", Orm: true, OnlyColumnAlias: false, }, Config: &CfgConfiguration{ PKG: "config", Name: "config", }, }
Functions ¶
func PrintVersion ¶
func PrintVersion(goVersion bool)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.