diff --git a/core/stores/redis/redis.go b/core/stores/redis/redis.go index 13f4fac7..87347ce4 100644 --- a/core/stores/redis/redis.go +++ b/core/stores/redis/redis.go @@ -90,6 +90,7 @@ func New(addr string, opts ...Option) *Redis { return r } +// Deprecated: use New instead, will be removed in v2. // NewRedis returns a Redis. func NewRedis(redisAddr, redisType string, redisPass ...string) *Redis { var opts []Option