更新文档

This commit is contained in:
谢小军
2020-01-11 23:11:33 +08:00
parent 0f1ac1d72f
commit 62a72bdf70
3 changed files with 5 additions and 1 deletions

View File

@@ -12,7 +12,7 @@
### big Camel-Case Name Rule ### big Camel-Case Name Rule
### JSON tag ### JSON tag
![show](/image/gormt/out.gif)
-------- --------
@@ -75,6 +75,7 @@ Flags:
- INDEX Create index with or without name, same name creates composite indexes - INDEX Create index with or without name, same name creates composite indexes
- UNIQUE_INDEX Like INDEX, create unique index - UNIQUE_INDEX Like INDEX, create unique index
- Support foreign key related properties [Support export gorm.model>>>](doc/export.md) - Support foreign key related properties [Support export gorm.model>>>](doc/export.md)
- Support function export (foreign key, association, index , unique and more)
### You can enrich data types in [def](data/view/cnf/def.go) ### You can enrich data types in [def](data/view/cnf/def.go)

View File

@@ -9,6 +9,8 @@
#### mysql数据库转 struct 工具,可以将mysql数据库自动生成golang sturct结构带大驼峰命名规则。带json标签 #### mysql数据库转 struct 工具,可以将mysql数据库自动生成golang sturct结构带大驼峰命名规则。带json标签
![show](/image/gormt/out.gif)
[English](README.md) [English](README.md)
@@ -75,6 +77,7 @@ Flags:
- INDEX 创建具有或不带名称的索引, 如果多个索引同名则创建复合索引 - INDEX 创建具有或不带名称的索引, 如果多个索引同名则创建复合索引
- UNIQUE_INDEX 和 INDEX 类似,只不过创建的是唯一索引 - UNIQUE_INDEX 和 INDEX 类似,只不过创建的是唯一索引
- 支持外键相关属性 [简单带外键模式导出>>>](https://github.com/xxjwxc/gormt/tree/master/doc/export_cn.md) - 支持外键相关属性 [简单带外键模式导出>>>](https://github.com/xxjwxc/gormt/tree/master/doc/export_cn.md)
- 支持函数导出(包括:外键,关联体,索引关...)
### 您可以在这里丰富数据映射类型 [def](data/view/cnf/def.go) 。 ### 您可以在这里丰富数据映射类型 [def](data/view/cnf/def.go) 。

BIN
image/gormt/out.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 618 KiB