import cycle not allowed

This commit is contained in:
2023-01-18 17:46:25 +08:00
parent 8d3a64b26e
commit 26f46f1eb6
35 changed files with 355 additions and 341 deletions
+6 -1
View File
@@ -1,8 +1,13 @@
package refs
import redisTool "cutego/pkg/redispool"
import (
"cutego/pkg/logging"
redisTool "cutego/pkg/redispool"
)
// 配置redis数据库
func init() {
logging.InfoLog("redis init start...")
RedisDB = redisTool.NewRedis()
logging.InfoLog("redis init end...")
}