update
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
|
||||
# [gormt](https://github.com/xie1xiao1jun/gormt)
|
||||
# [gormt](https://github.com/xxjwxc/gormt)
|
||||
### 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
|
||||
@@ -200,10 +200,10 @@ type UserInfoTbl struct {
|
||||
|
||||

|
||||
|
||||
[Download](https://github.com/xie1xiao1jun/gormt/releases/download/v1.0.0.1/v1.0.zip)
|
||||
[Download](https://github.com/xxjwxc/gormt/releases/download/v1.0.0.1/v1.0.zip)
|
||||
|
||||
## 7. Next step
|
||||
|
||||
- support (ForeignKey)
|
||||
|
||||
- ###### [link](https://xie1xiao1jun.github.io/post/gormtools/)
|
||||
- ###### [link](https://xxjwxc.github.io/post/gormtools/)
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
|
||||
# [gorm-tools](https://github.com/xie1xiao1jun/gorm-tools)
|
||||
# [gorm-tools](https://github.com/xxjwxc/gorm-tools)
|
||||
### [gorm](https://github.com/jinzhu/gorm) mysql数据库转 struct 工具,可以将mysql数据库自动生成golang sturct结构,带大驼峰命名规则。带json标签
|
||||
|
||||
|
||||
@@ -196,10 +196,10 @@ type UserInfoTbl struct {
|
||||
|
||||

|
||||
|
||||
[下载地址](https://github.com/xie1xiao1jun/gormt/releases/download/v1.0.0.1/v1.0.zip)
|
||||
[下载地址](https://github.com/xxjwxc/gormt/releases/download/v1.0.0.1/v1.0.zip)
|
||||
|
||||
## 7. 下一步计划
|
||||
|
||||
- 加入外键支持(ForeignKey)
|
||||
|
||||
- ###### [传送门](https://xie1xiao1jun.github.io/post/gormtools/)
|
||||
- ###### [传送门](https://xxjwxc.github.io/post/gormtools/)
|
||||
|
||||
@@ -4,10 +4,10 @@ import (
|
||||
"fmt"
|
||||
"os"
|
||||
|
||||
"github.com/xie1xiao1jun/public/tools"
|
||||
"github.com/xxjwxc/public/tools"
|
||||
|
||||
"github.com/xie1xiao1jun/gormt/data/config"
|
||||
"github.com/xie1xiao1jun/gormt/data/view/gtools"
|
||||
"github.com/xxjwxc/gormt/data/config"
|
||||
"github.com/xxjwxc/gormt/data/view/gtools"
|
||||
|
||||
"github.com/spf13/cobra"
|
||||
"gopkg.in/go-playground/validator.v9"
|
||||
|
||||
@@ -3,8 +3,8 @@ package config
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
"github.com/xie1xiao1jun/public/dev"
|
||||
"github.com/xie1xiao1jun/public/tools"
|
||||
"github.com/xxjwxc/public/dev"
|
||||
"github.com/xxjwxc/public/tools"
|
||||
|
||||
"github.com/BurntSushi/toml"
|
||||
)
|
||||
|
||||
@@ -5,10 +5,10 @@ import (
|
||||
"regexp"
|
||||
"strings"
|
||||
|
||||
"github.com/xie1xiao1jun/gormt/data/config"
|
||||
"github.com/xie1xiao1jun/gormt/data/view/gtools/generate"
|
||||
"github.com/xie1xiao1jun/public/mybigcamel"
|
||||
"github.com/xie1xiao1jun/public/mysqldb"
|
||||
"github.com/xxjwxc/gormt/data/config"
|
||||
"github.com/xxjwxc/gormt/data/view/gtools/generate"
|
||||
"github.com/xxjwxc/public/mybigcamel"
|
||||
"github.com/xxjwxc/public/mysqldb"
|
||||
)
|
||||
|
||||
//获取表列及注释
|
||||
|
||||
@@ -4,9 +4,9 @@ import (
|
||||
"fmt"
|
||||
"strings"
|
||||
|
||||
"github.com/xie1xiao1jun/gormt/data/config"
|
||||
"github.com/xxjwxc/gormt/data/config"
|
||||
|
||||
"github.com/xie1xiao1jun/public/tools"
|
||||
"github.com/xxjwxc/public/tools"
|
||||
)
|
||||
|
||||
// 打印
|
||||
|
||||
@@ -4,9 +4,9 @@ import (
|
||||
"fmt"
|
||||
"os/exec"
|
||||
|
||||
"github.com/xie1xiao1jun/gormt/data/config"
|
||||
"github.com/xie1xiao1jun/public/mysqldb"
|
||||
"github.com/xie1xiao1jun/public/tools"
|
||||
"github.com/xxjwxc/gormt/data/config"
|
||||
"github.com/xxjwxc/public/mysqldb"
|
||||
"github.com/xxjwxc/public/tools"
|
||||
)
|
||||
|
||||
//开始执行
|
||||
|
||||
Reference in New Issue
Block a user