删除 redis 相关代码
This commit is contained in:
1 parent
94cb94df63
commit
e6662a84e6
1 file changed
-5
@@ -29,11 +29,6 @@ func init() {
|
|||||||
}
|
}
|
||||||
ApplicationConfig = InitApplication(cfgApplication)
|
ApplicationConfig = InitApplication(cfgApplication)
|
||||||
|
|
||||||
cfgRedisConn = viper.Sub("settings.redis")
|
|
||||||
if cfgRedisConn == nil {
|
|
||||||
panic("config not found settings.redis")
|
|
||||||
}
|
|
||||||
RedisConnConfig = InitRedisConn(cfgRedisConn)
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user