mirror of https://github.com/go-redis/redis.git
Feature/gofumpt (#1545)
* enable gofumpt * remove nlreturn * up golang-ci
This commit is contained in:
parent
f93ba2815b
commit
38caa12762
|
@ -17,5 +17,5 @@ linters:
|
||||||
- gomnd
|
- gomnd
|
||||||
- goerr113
|
- goerr113
|
||||||
- exhaustive
|
- exhaustive
|
||||||
- gofumpt
|
|
||||||
- nestif
|
- nestif
|
||||||
|
- nlreturn
|
||||||
|
|
|
@ -17,4 +17,4 @@ go_import_path: github.com/go-redis/redis
|
||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
- curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s --
|
- curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s --
|
||||||
-b $(go env GOPATH)/bin v1.28.3
|
-b $(go env GOPATH)/bin v1.31.0
|
||||||
|
|
1
ring.go
1
ring.go
|
@ -13,7 +13,6 @@ import (
|
||||||
|
|
||||||
"github.com/cespare/xxhash/v2"
|
"github.com/cespare/xxhash/v2"
|
||||||
"github.com/dgryski/go-rendezvous"
|
"github.com/dgryski/go-rendezvous"
|
||||||
|
|
||||||
"github.com/go-redis/redis/v8/internal"
|
"github.com/go-redis/redis/v8/internal"
|
||||||
"github.com/go-redis/redis/v8/internal/hashtag"
|
"github.com/go-redis/redis/v8/internal/hashtag"
|
||||||
"github.com/go-redis/redis/v8/internal/pool"
|
"github.com/go-redis/redis/v8/internal/pool"
|
||||||
|
|
Loading…
Reference in New Issue