import cycle not allowed
This commit is contained in:
+6
-1
@@ -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...")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user