Go连接redis代码记录
// Get Redis String Valuefunc GetRedisString(key string) (string, error) { redis_conn := rediswrapper.GetRedisPool().Get() if redis_conn.Err() != nil { logs.ERRORLOG("GetRedisPool Failed:%s", redis_conn.Err().Error()) return "", p.
原创
2021-12-03 15:53:27 ·
354 阅读 ·
0 评论