增加redis连接初始化

This commit is contained in:
zhangdeman committed 2023-03-09 18:11:17 +08:00
1 parent eeed66642e
commit 4a418d1d41
1 file changed
+3
+3
View File
@@ -42,6 +42,9 @@ func InitWithCfgFile(cfgFilePath string) error {
if err := c.loadConfig(cfgFilePath); nil != err {
return err
}
if err := c.init(); nil != err {
return err
}
Client = c
return nil
}
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.