diff --git a/README.md b/README.md index b5c5070..1d6ceab 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,14 @@ # [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. ### big Camel-Case Name Rule ### JSON tag -[中文文档](README_zh_cn.md) + -------- diff --git a/README_zh_cn.md b/README_zh_cn.md index 6535ab5..bcb171e 100644 --- a/README_zh_cn.md +++ b/README_zh_cn.md @@ -11,7 +11,8 @@ out_dir : "." # 输出目录 singular_table : false # 表名复数,是否大驼峰构建 参考:gorm.SingularTable simple : false #简单输出 -isJsonTag : true #是否打json标记 +is_json_tag : false #是否打json标记 +is_foreign_key : true #是否导出外键关联 mysql_info : host : "127.0.0.1" port : 3306