2023-05-13 00:55:47 +08:00
|
|
|
package config
|
2023-02-03 16:18:31 +08:00
|
|
|
|
|
|
|
var (
|
|
|
|
// Conf 全局配置 通过 config.Conf 引用
|
|
|
|
Conf = new(Configuration)
|
|
|
|
|
|
|
|
//DataDBCli *db.Client
|
|
|
|
)
|
|
|
|
|
2023-05-13 00:55:47 +08:00
|
|
|
func Get() *Configuration {
|
2023-02-03 16:18:31 +08:00
|
|
|
return Conf
|
|
|
|
}
|
|
|
|
|
|
|
|
//func GetDataDBCli() *db.Client {
|
|
|
|
// return DataDBCli
|
|
|
|
//}
|