diff --git a/.golangci.yml b/.golangci.yml index 2132eee9..1e8d238c 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -17,5 +17,5 @@ linters: - gomnd - goerr113 - exhaustive - - gofumpt - nestif + - nlreturn diff --git a/.travis.yml b/.travis.yml index adedd8df..1bf578d4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -17,4 +17,4 @@ go_import_path: github.com/go-redis/redis before_install: - 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 diff --git a/ring.go b/ring.go index 205b0249..34d05f35 100644 --- a/ring.go +++ b/ring.go @@ -13,7 +13,6 @@ import ( "github.com/cespare/xxhash/v2" "github.com/dgryski/go-rendezvous" - "github.com/go-redis/redis/v8/internal" "github.com/go-redis/redis/v8/internal/hashtag" "github.com/go-redis/redis/v8/internal/pool"