Files
gormt/data/view/model/def_ifs.go
yanjiangtao d000eebda5 Perfect annotation and remove redundant information output.
完善注释,去除多余的信息输出
2021-03-30 20:23:40 +08:00

10 lines
419 B
Go

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 配置获取包名
GetTableNames() string // Getting tableNames by config. 获取设置的表名
}