17 lines
233 B
Go
17 lines
233 B
Go
package model
|
|
|
|
var (
|
|
// Conf 全局配置 通过 config.Conf 引用
|
|
Conf = new(Configuration)
|
|
|
|
//DataDBCli *db.Client
|
|
)
|
|
|
|
func GetConfig() *Configuration {
|
|
return Conf
|
|
}
|
|
|
|
//func GetDataDBCli() *db.Client {
|
|
// return DataDBCli
|
|
//}
|