From 8c466e96261b417473b0831ab8b50d740e245c4f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B0=A2=E5=B0=8F=E5=86=9B?= <346944475@qq.com> Date: Sun, 27 Oct 2019 22:21:35 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=96=E9=94=AE=E5=AF=BC=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 5 ++++- README_zh_cn.md | 3 ++- 2 files changed, 6 insertions(+), 2 deletions(-) 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