Files
cutego/refs/redis.go
T
2023-01-18 17:46:25 +08:00

14 lines
232 B
Go

package refs
import (
"cutego/pkg/logging"
redisTool "cutego/pkg/redispool"
)
// 配置redis数据库
func init() {
logging.InfoLog("redis init start...")
RedisDB = redisTool.NewRedis()
logging.InfoLog("redis init end...")
}