mirror of
https://github.com/redis/go-redis.git
synced 2025-08-08 23:42:06 +03:00
Feature/gofumpt (#1545)
* enable gofumpt * remove nlreturn * up golang-ci
This commit is contained in:
@@ -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"
|
||||||
|
Reference in New Issue
Block a user