增加新的添加数据库实例的方式
This commit is contained in:
@ -28,10 +28,10 @@ type DBConfig struct {
|
||||
//
|
||||
// Date : 14:47 2022/6/9
|
||||
type cfgFile struct {
|
||||
Flag string `json:"flag"` // 数据库标识
|
||||
Path string `json:"path"` // 配置文件路径
|
||||
Type string `json:"type"` // 配置文件类型
|
||||
Config Database `json:"config"` // 解析之后的配置文件
|
||||
Flag string `json:"flag"` // 数据库标识
|
||||
Path string `json:"path"` // 配置文件路径
|
||||
Type string `json:"type"` // 配置文件类型
|
||||
Config *Database `json:"config"` // 解析之后的配置文件
|
||||
}
|
||||
|
||||
const (
|
||||
|
Reference in New Issue
Block a user