瀏覽代碼

fix: golint issue (#1423)

Kevin Wan 3 年之前
父節點
當前提交
eb4b86137a
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      core/stores/redis/redis.go

+ 1 - 1
core/stores/redis/redis.go

@@ -93,8 +93,8 @@ func New(addr string, opts ...Option) *Redis {
 	return r
 }
 
-// Deprecated: use New instead, will be removed in v2.
 // NewRedis returns a Redis.
+// Deprecated: use New instead, will be removed in v2.
 func NewRedis(redisAddr, redisType string, redisPass ...string) *Redis {
 	var opts []Option
 	if redisType == ClusterType {