Comprehensive optimization

This commit is contained in:
谢小军
2019-10-17 21:06:26 +08:00
parent 8e2bcabf09
commit 16b24a1355
13 changed files with 410 additions and 233 deletions

View File

@@ -0,0 +1,12 @@
package gtools
import (
"github.com/xxjwxc/gormt/data/view/model"
"github.com/xxjwxc/gormt/data/view/model/genmysql"
)
// GetModel get model interface. 获取model接口
func GetModel() model.IModel {
//now just support mysql
return &genmysql.MySQLModel
}