Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CFG = &Configuration{ OutputDir: "", Verbose: false, IncludeTables: make([]string, 0), Global: &GlobalConfiguration{ Author: "bill", Date: true, DateLayout: "2006-01-02", Copyright: true, CopyrightContent: "Mybatis code generator written in Golang", Website: true, WebsiteContent: "https://github.com/billcoding/mybatis-code-generator", }, Entity: &EntityConfiguration{ PKG: "entity", TableToEntityStrategy: UnderlineToUpper, ColumnToFieldStrategy: UnderlineToCamel, Comment: true, FieldComment: true, Lombok: true, LombokData: true, LombokNoArgsConstructor: true, LombokAllArgsConstructor: true, LombokBuilder: true, Implement: false, Implements: make([]string, 0), Extend: false, Extends: "", EntityClassPrefixes: make([]string, 0), EntityClassSuffixes: make([]string, 0), EntityAnnotation: true, TableAnnotation: true, IdAnnotation: true, ColumnAnnotation: true, }, Mapper: &MapperConfiguration{ PKG: "mapper", NamePrefix: "", NameSuffix: "Mapper", MybatisPlus: true, Comment: true, MapperAnnotation: true, }, Repository: &RepositoryConfiguration{ PKG: "repository", NamePrefix: "", NameSuffix: "Repository", Comment: true, RepositoryAnnotation: true, }, XML: &XMLConfiguration{ Dir: "xml", Comment: true, }, }
Functions ¶
func PrintVersion ¶
func PrintVersion(goVersion bool)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.