317 Commits (96794856b6799a56dfdc9c972535a0e1f044d2c1)
 

Author SHA1 Message Date
xxj 96794856b6 add model
添加model支持
3 years ago
xxj 26254de0d8
Merge pull request #142 from gh73962/master
修复表前缀的灵活性,修复windows下包名获取异常
3 years ago
me262 ae72f8d9a3 fix: 修复pkgName == "."时windows下获取包名异常 3 years ago
me262 78defd91d9 fix: 修复table_prefix兼容性 3 years ago
xxj add7017224
Merge pull request #140 from snowlyg/master
fix 存在 index:sort 时候和  gorm 本身 sort 标签冲突导致的错误
3 years ago
snowlyg d690c9d109 兼容 gorm 本身 sort 标签 3 years ago
xxj fd2f9c4c4b
Merge pull request #139 from snowlyg/master
add  mediumint type
3 years ago
snowlyg cddebd902f add mediumint type 3 years ago
xxj 41d2f487a0
Merge pull request #137 from jianjungki/patch-1
Update def.go
4 years ago
jianjun c024b878e9
Update def.go
add geometry for mysql 5.7
4 years ago
xxj 3abe0a8b26 add `` 4 years ago
xxj 8dba9d315c
Merge pull request #131 from viwii/master
替朋友合并mssql
4 years ago
viwii 3b9d9a7d74 替朋友合并mssql 4 years ago
xxj c9fdd1475e
Merge pull request #129 from crabmanY/master
修改simple配置为true不输出gorm标签,将is_table_name中的column生成单独抽成配置,以免配置的耦合,增加根据表名生成多个model的配置(一个表一个model)
4 years ago
yanjiangtao 8910e45ac6 1.去除埋点代码
--------------
1.Remove buried code
4 years ago
yanjiangtao 02aead9615 1.simple配置为true不输出gorm标签
2.将is_table_name中的column生成单独抽成配置,以免配置的耦合。
3.增加根据表名生成多个model的配置(一个表一个model)
-------------------------------------------
1. Simple is configured as true and does not output Gorm tag
2. Will be_ table_ The column in name generates a separate extraction configuration to avoid the coupling of configuration.
3. Add the configuration of generating multiple models according to the table name (one model for each table)
4 years ago
xxj 1162f35ceb
Merge pull request #128 from crabmanY/master
Perfect annotation and remove redundant information output.
4 years ago
yanjiangtao d000eebda5 Perfect annotation and remove redundant information output.
完善注释,去除多余的信息输出
4 years ago
xxj 919b493550
Merge pull request #127 from crabmanY/master
增加指定表model生成功能  -b 参数指定表名(多个表名用,隔开),配置文件增加table_names配置
4 years ago
yanjiangtao d6f49c5cce 增加指定表model生成功能 4 years ago
xxj c29e59cf77 Update README.md 4 years ago
xxj 01388f3b67
Merge pull request #125 from xxjwxc/pengwenwu-dev
Pengwenwu dev
4 years ago
xxj 8250592b73 new 4 years ago
pengwenwu 0153517cda add config with self_define_type_mysql_dic_map out_file_name web_tag_type 4 years ago
xxj 3933212bbc
Merge pull request #122 from 1379/patch-1
fix: fix func comment error
4 years ago
1379Monitor 9cc5158753
fix: fix func comment error
close #121
4 years ago
xxj da730eee72
Merge pull request #119 from 15ho/master
fix #112
4 years ago
15ho 5b91e0df74 fix #112 4 years ago
xxj 6a3e380bf0
Merge pull request #118 from panol/master
feat:通过使用--table_prefix 给表名加前缀
4 years ago
王勇攀 dc8a862255 feat:通过使用--table_prefix 给表名加前缀
使得:
func (obj *_SymbolMgr) GetTableName() string {
 return "symbol"
}
变成:
func (obj *_SymbolMgr) GetTableName() string {
 return "tableprefix.symbol"
}
并在源头确定表名:tableprefix.symbol.
即真正执行mysql语句的时候,会按照tableprefix.symbol这个表名去执行。
4 years ago
xxj a4c817f648
Merge pull request #115 from wxw9868/gormt
修复bug
4 years ago
Administrator d1afbd5ab3 修复bug 4 years ago
xxj a095bb9869
Merge pull request #114 from JaminCui/master
add json tag lower camel case
4 years ago
cuiyaming 845d08585f add json tag lower camel case 4 years ago
xxj 09482dfc19 new 4 years ago
xxjwxc 0751bce177 fix ColName 4 years ago
xxj 0e2a3e4553 colname add ``
给导出列名添加``符
4 years ago
xxj ea7c73db90 new 4 years ago
xxj 689c8a30d9 add @fk to note
添加外键注解。
4 years ago
xxj dccbfce68a
Merge pull request #108 from jeffmingup/master
Fix table prefix flags
4 years ago
ming fe36f6e3cf Fix table prefix flags 4 years ago
xxj 04a1abaed7 fix prefix 4 years ago
xxj 968898a767
Merge pull request #106 from nanfangstation/master
tablePrefix
4 years ago
pengnanfang 14e0bb177f tablePrefix 4 years ago
xxj a0b28c4088 add datatypes
添加 datatypes 支持
4 years ago
xxj f00ef48b7e Delete gormt.exe 4 years ago
xxj 22d40a2ef7
Merge pull request #103 from fyyang/master
add: mysql add tablePrefix
4 years ago
young 039050f631 fix: old error 4 years ago
young 0c3732eb0f add: now, you can set tablePrefix 4 years ago
fyyang 39f7512c11
Merge pull request #1 from xxjwxc/master
fix HashMap is out of order
4 years ago