fix: golint issue (#1423)

master
Kevin Wan 3 years ago committed by GitHub
parent 9c4f4f3b4e
commit eb4b86137a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save