add test info

This commit is contained in:
谢小军
2019-12-31 16:12:37 +08:00
parent 617b01e600
commit ed989232f6
3 changed files with 22 additions and 2 deletions

View File

@@ -21,6 +21,10 @@ func Execute() {
modeldb := GetMysqlModel()
pkg := modeldb.GenModel()
// just for test
// out, _ := json.Marshal(pkg)
// tools.WriteFile("test.txt", []string{string(out)}, true)
list := model.Generate(pkg)
for _, v := range list {