xxj
c9fdd1475e
Merge pull request #129 from crabmanY/master
...
修改simple配置为true不输出gorm标签,将is_table_name中的column生成单独抽成配置,以免配置的耦合,增加根据表名生成多个model的配置(一个表一个model)
2021-04-08 11:36:45 +08:00
yanjiangtao
8910e45ac6
1.去除埋点代码
...
--------------
1.Remove buried code
2021-04-06 17:43:18 +08:00
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)
2021-04-06 17:19:02 +08:00
xxj
1162f35ceb
Merge pull request #128 from crabmanY/master
...
Perfect annotation and remove redundant information output.
2021-03-30 20:55:33 +08:00
yanjiangtao
d000eebda5
Perfect annotation and remove redundant information output.
...
完善注释,去除多余的信息输出
2021-03-30 20:23:40 +08:00
xxj
919b493550
Merge pull request #127 from crabmanY/master
...
增加指定表model生成功能 -b 参数指定表名(多个表名用,隔开),配置文件增加table_names配置
2021-03-30 18:28:49 +08:00
yanjiangtao
d6f49c5cce
增加指定表model生成功能
2021-03-30 18:05:36 +08:00
xxj
c29e59cf77
Update README.md
2021-03-20 13:50:22 +08:00
xxj
01388f3b67
Merge pull request #125 from xxjwxc/pengwenwu-dev
...
Pengwenwu dev
2021-03-20 13:29:57 +08:00
xxj
8250592b73
new
2021-03-20 13:27:31 +08:00
pengwenwu
0153517cda
add config with self_define_type_mysql_dic_map out_file_name web_tag_type
2021-03-19 16:43:55 +08:00
xxj
3933212bbc
Merge pull request #122 from 1379/patch-1
...
fix: fix func comment error
2021-03-18 16:17:20 +08:00
1379Monitor
9cc5158753
fix: fix func comment error
...
close #121
2021-03-18 16:14:34 +08:00
xxj
da730eee72
Merge pull request #119 from 15ho/master
...
fix #112
2021-03-17 15:53:59 +08:00
15ho
5b91e0df74
fix #112
2021-03-17 14:40:58 +08:00
xxj
6a3e380bf0
Merge pull request #118 from panol/master
...
feat:通过使用--table_prefix 给表名加前缀
2021-03-12 20:22:12 +08:00
王勇攀
dc8a862255
feat:通过使用--table_prefix 给表名加前缀
...
使得:
func (obj *_SymbolMgr) GetTableName() string {
return "symbol"
}
变成:
func (obj *_SymbolMgr) GetTableName() string {
return "tableprefix.symbol"
}
并在源头确定表名:tableprefix.symbol.
即真正执行mysql语句的时候,会按照tableprefix.symbol这个表名去执行。
2021-03-12 20:12:18 +08:00
xxj
a4c817f648
Merge pull request #115 from wxw9868/gormt
...
修复bug
2021-03-04 19:43:14 -06:00
Administrator
d1afbd5ab3
修复bug
2021-03-04 23:27:29 +08:00
xxj
a095bb9869
Merge pull request #114 from JaminCui/master
...
add json tag lower camel case
2021-03-03 01:35:24 -06:00
cuiyaming
845d08585f
add json tag lower camel case
2021-03-03 15:24:13 +08:00
xxj
09482dfc19
new
2021-03-03 14:40:29 +08:00
xxjwxc
0751bce177
fix ColName
2021-02-27 15:31:46 +08:00
xxj
0e2a3e4553
colname add ``
...
给导出列名添加``符
2021-02-19 18:03:04 +08:00
xxj
ea7c73db90
new
2021-02-02 15:25:25 +08:00
xxj
689c8a30d9
add @fk to note
...
添加外键注解。
2021-02-02 15:16:10 +08:00
xxj
dccbfce68a
Merge pull request #108 from jeffmingup/master
...
Fix table prefix flags
2021-01-29 20:07:10 -06:00
ming
fe36f6e3cf
Fix table prefix flags
2021-01-30 09:48:29 +08:00
xxj
04a1abaed7
fix prefix
2021-01-15 17:05:20 +08:00
xxj
968898a767
Merge pull request #106 from nanfangstation/master
...
tablePrefix
2021-01-14 19:51:10 -06:00
pengnanfang
14e0bb177f
tablePrefix
2021-01-14 23:05:39 +08:00
xxj
a0b28c4088
add datatypes
...
添加 datatypes 支持
2021-01-08 14:15:47 +08:00
xxj
f00ef48b7e
Delete gormt.exe
2021-01-08 10:04:43 +08:00
xxj
22d40a2ef7
Merge pull request #103 from fyyang/master
...
add: mysql add tablePrefix
2021-01-08 09:39:20 +08:00
young
039050f631
fix: old error
2021-01-07 22:43:29 +08:00
young
0c3732eb0f
add: now, you can set tablePrefix
2021-01-07 22:35:25 +08:00
fyyang
39f7512c11
Merge pull request #1 from xxjwxc/master
...
fix HashMap is out of order
2021-01-07 21:35:40 +08:00
xxj
a60ccdc695
fix HashMap is out of order
...
fix HashMap is out of order
2020-12-28 16:13:39 +08:00
xxj
cf8ff9e416
change fulltext tag
2020-12-23 16:13:41 +08:00
young
acd9861d7f
add: INDEX FULLTEXT
...
add: Default value
2020-12-23 15:48:17 +08:00
xxj
db108519e9
Update common.go
2020-12-21 18:03:52 +08:00
xxj
17dab2b01c
fix empty column
2020-12-15 14:08:55 +08:00
xxjwxc
8f873848b4
fix go model gen column name
2020-12-12 18:57:20 +08:00
xxj
60fb4511cb
new
2020-12-09 15:08:04 +08:00
xxj
bceb63b951
add column support
...
支持列名导出
2020-12-09 12:53:59 +08:00
xxj
3516c2b4a5
delete SingularTable
...
删除单表配置模式
2020-12-08 18:06:18 +08:00
xxj
a97443b09f
tag insert
...
列注释添加tag
2020-12-07 19:06:12 +08:00
xxj
e9ecd38609
add context import
2020-12-03 16:31:32 +08:00
xxj
cfb3d5edde
remove WithConditions
...
移除 WithConditions
2020-11-30 14:12:18 +08:00
xxj
dc650df60f
new
2020-11-27 16:23:07 +08:00