add log & fix gui
添加文档并且更新gui
This commit is contained in:
14
README.md
14
README.md
@@ -12,6 +12,12 @@
|
||||
### big Camel-Case Name Rule
|
||||
### JSON tag
|
||||
|
||||
## gui support
|
||||
|
||||

|
||||
|
||||
## cmd support
|
||||
|
||||

|
||||
|
||||
--------
|
||||
@@ -19,12 +25,16 @@
|
||||
## 1. Configure default configuration items through the current directory config.yml file
|
||||
```
|
||||
out_dir : "." # out dir
|
||||
url_tag : json # web url tag(json,db(https://github.com/google/go-querystring))
|
||||
language : # language(English,中 文)
|
||||
db_tag : gorm # DB tag(gorm,db)
|
||||
singular_table : false # Table name plural (big Camel-Case):gorm.SingularTable
|
||||
simple : false #simple output
|
||||
is_out_sql : false # Whether to output sql
|
||||
is_out_func : true # Whether to output function
|
||||
is_json_tag : true # Whether to mark JSON or not
|
||||
is_url_tag : true # Whether to mark web or not
|
||||
is_foreign_key : true # Whether to mark foreign key or not
|
||||
is_gui : false # Whether to operate on gui
|
||||
|
||||
mysql_info :
|
||||
host : "127.0.0.1"
|
||||
@@ -50,12 +60,14 @@ Flags:
|
||||
-d, --database string 数据库名
|
||||
-f, --foreign 是否导出外键关联
|
||||
-F, --fun 是否导出函数
|
||||
-g, --gui 是否ui显示模式
|
||||
-h, --help help for main
|
||||
-H, --host string 数据库地址.(注意-H为大写)
|
||||
-o, --outdir string 输出目录
|
||||
-p, --password string 密码.
|
||||
--port int 端口号 (default 3306)
|
||||
-s, --singular 是否禁用表名复数
|
||||
-l, --url string url标签(json,url)
|
||||
-u, --user string 用户名.
|
||||
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user