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