package
0.0.1
Repository: https://github.com/odysseythink/models_gen.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

CapLowercase 小写.且兼容 golint 驼峰命名规则.
No description provided by the author
Generate build code string.生成代码.
Generate build code string.生成代码.
GenFListIndex 生成list status(1:获取函数名,2:获取参数列表,3:获取sql case,4:值列表).
GenPreloadList 生成list.
GetGenBaseTpl get gen base template str.
GetGenColumnNameTpl get gen column template str.
GetGenLogicTpl get gen logic template str.
GetGenPreloadTpl get gen preload template str.
GetGenTableNameTpl get gen table template str.
GetTablePrefixName 获取带表前缀名字的tablename.
TitleCase title case.首字母大写.

# Constants

ColumnsKeyDefault default.
可重复 index 索引.
主键.
unix 唯一索引.
唯一复合索引.

# Variables

EImportsHead imports head options.
TypeMysqlDicMp Accurate matching type.精确匹配类型.
TypeMysqlMatchList Fuzzy Matching Types.模糊匹配类型.

# Structs

BaseInfo base common attribute.
ColumnsInfo Columns list .表列信息.
DBInfo database default info.
EmInfo element of func info.
FEm ...
FList index of list.
ForeignKey Foreign key of db info .
GenElement element of sturct.元素类.
GenOutInfo generate file list.
GenPackage package of IPackage.包体.
GenStruct struct of IStruct .结构体.
KList database index /unique_index list.数据库index /unique_index 列表.
PreloadInfo 预加载列表.
PrintAtom .
TabInfo database table default attribute.

# Interfaces

IGenerate Generate Printing Interface.生成打印接口.
IModel Implement the interface to acquire database information and initialize it.实现接口获取数据库信息获取并初始化.

# Type aliases

ColumnsKey Columns type elem.