外键导出
This commit is contained in:
@@ -1,11 +1,14 @@
|
|||||||
|
|
||||||
# [gormt](https://github.com/xxjwxc/gormt)
|
# [gormt](https://github.com/xxjwxc/gormt)
|
||||||
|
|
||||||
|
## [中文文档](README_zh_cn.md)
|
||||||
|
|
||||||
### mysql database to goang struct conversion tools base on [gorm](https://github.com/jinzhu/gorm),You can automatically generate golang sturct from MySQL database.
|
### mysql database to goang struct conversion tools base on [gorm](https://github.com/jinzhu/gorm),You can automatically generate golang sturct from MySQL database.
|
||||||
|
|
||||||
### big Camel-Case Name Rule
|
### big Camel-Case Name Rule
|
||||||
### JSON tag
|
### JSON tag
|
||||||
|
|
||||||
[中文文档](README_zh_cn.md)
|
|
||||||
|
|
||||||
--------
|
--------
|
||||||
|
|
||||||
|
|||||||
@@ -11,7 +11,8 @@
|
|||||||
out_dir : "." # 输出目录
|
out_dir : "." # 输出目录
|
||||||
singular_table : false # 表名复数,是否大驼峰构建 参考:gorm.SingularTable
|
singular_table : false # 表名复数,是否大驼峰构建 参考:gorm.SingularTable
|
||||||
simple : false #简单输出
|
simple : false #简单输出
|
||||||
isJsonTag : true #是否打json标记
|
is_json_tag : false #是否打json标记
|
||||||
|
is_foreign_key : true #是否导出外键关联
|
||||||
mysql_info :
|
mysql_info :
|
||||||
host : "127.0.0.1"
|
host : "127.0.0.1"
|
||||||
port : 3306
|
port : 3306
|
||||||
|
|||||||
Reference in New Issue
Block a user