Feature/gofumpt (#1545)

* enable gofumpt
* remove nlreturn
* up golang-ci
This commit is contained in:
Roman Suvorov 2020-10-22 09:40:20 +03:00 committed by GitHub
parent f93ba2815b
commit 38caa12762
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 3 deletions

View File

@ -17,5 +17,5 @@ linters:
- gomnd
- goerr113
- exhaustive
- gofumpt
- nestif
- nlreturn

View File

@ -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

View File

@ -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"