Comprehensive optimization
This commit is contained in:
12
data/view/gtools/commont.go
Normal file
12
data/view/gtools/commont.go
Normal 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
|
||||
}
|
||||
Reference in New Issue
Block a user