数据库连接初始化优化

权限部分修改
This commit is contained in:
linwenxiang committed 2021-02-21 14:06:13 +08:00
1 parent 4979fd659f
commit deeb82048b
37 files changed
+726 -721

No files matched your search

+4 -1
View File
@@ -5,4 +5,7 @@ type Database struct {
Source string
}
var DatabaseConfig = new(Database)
var (
DatabaseConfig = new(Database)
DatabasesConfig = make(map[string]*Database)
)