Browse Source

修改工厂

qdy 3 months ago
parent
commit
44aceca9ef
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      factory/factory.go

+ 1
- 1
factory/factory.go View File

@@ -17,7 +17,7 @@ type DBFactory struct {
17 17
 
18 18
 // NewDBFactory 创建数据库工厂
19 19
 func NewDBFactory() (*DBFactory, error) {
20
-	// 使用配置单例
20
+	// 使用配置单例 哪里都可以直接使用
21 21
 	cfg := config.GetConfig()
22 22
 
23 23
 	// 检查配置初始化是否有错误

Loading…
Cancel
Save