Comprehensive optimization
This commit is contained in:
8
data/view/model/def_ifs.go
Normal file
8
data/view/model/def_ifs.go
Normal file
@@ -0,0 +1,8 @@
|
||||
package model
|
||||
|
||||
// IModel Implement the interface to acquire database information and initialize it.实现接口获取数据库信息获取并初始化
|
||||
type IModel interface {
|
||||
GenModel() DBInfo
|
||||
GetDbName() string
|
||||
GetPkgName() string // Getting package names through config outdir configuration.通过config outdir 配置获取包名
|
||||
}
|
||||
Reference in New Issue
Block a user