Skip to content

Commit 38caa12

Browse files
authored
Feature/gofumpt (#1545)
* enable gofumpt * remove nlreturn * up golang-ci
1 parent f93ba28 commit 38caa12

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

.golangci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@ linters:
1717
- gomnd
1818
- goerr113
1919
- exhaustive
20-
- gofumpt
2120
- nestif
21+
- nlreturn

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ go_import_path: github.com/go-redis/redis
1717

1818
before_install:
1919
- curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s --
20-
-b $(go env GOPATH)/bin v1.28.3
20+
-b $(go env GOPATH)/bin v1.31.0

ring.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ import (
1313

1414
"github.com/cespare/xxhash/v2"
1515
"github.com/dgryski/go-rendezvous"
16-
1716
"github.com/go-redis/redis/v8/internal"
1817
"github.com/go-redis/redis/v8/internal/hashtag"
1918
"github.com/go-redis/redis/v8/internal/pool"

0 commit comments

Comments
 (0)