Skip to content

Commit 3dcb844

Browse files
committed
Bump major version
1 parent f559312 commit 3dcb844

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+63
-59
lines changed

bench_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
"testing"
99
"time"
1010

11-
"github.com/go-redis/redis/v7"
11+
"github.com/go-redis/redis/v8"
1212
)
1313

1414
func benchmarkRedisClient(ctx context.Context, poolSize int) *redis.Client {

cluster.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ import (
1313
"sync/atomic"
1414
"time"
1515

16-
"github.com/go-redis/redis/v7/internal"
17-
"github.com/go-redis/redis/v7/internal/hashtag"
18-
"github.com/go-redis/redis/v7/internal/pool"
19-
"github.com/go-redis/redis/v7/internal/proto"
16+
"github.com/go-redis/redis/v8/internal"
17+
"github.com/go-redis/redis/v8/internal/hashtag"
18+
"github.com/go-redis/redis/v8/internal/pool"
19+
"github.com/go-redis/redis/v8/internal/proto"
2020
)
2121

2222
var errClusterNoNodes = fmt.Errorf("redis: cluster has no nodes")

cluster_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ import (
99
"sync"
1010
"time"
1111

12-
"github.com/go-redis/redis/v7"
13-
"github.com/go-redis/redis/v7/internal/hashtag"
12+
"github.com/go-redis/redis/v8"
13+
"github.com/go-redis/redis/v8/internal/hashtag"
1414

1515
. "github.com/onsi/ginkgo"
1616
. "github.com/onsi/gomega"

command.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ import (
88
"strings"
99
"time"
1010

11-
"github.com/go-redis/redis/v7/internal"
12-
"github.com/go-redis/redis/v7/internal/proto"
13-
"github.com/go-redis/redis/v7/internal/util"
11+
"github.com/go-redis/redis/v8/internal"
12+
"github.com/go-redis/redis/v8/internal/proto"
13+
"github.com/go-redis/redis/v8/internal/util"
1414
)
1515

1616
type Cmder interface {

command_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"errors"
55
"time"
66

7-
redis "github.com/go-redis/redis/v7"
7+
redis "github.com/go-redis/redis/v8"
88

99
. "github.com/onsi/ginkgo"
1010
. "github.com/onsi/gomega"

commands.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"io"
77
"time"
88

9-
"github.com/go-redis/redis/v7/internal"
9+
"github.com/go-redis/redis/v8/internal"
1010
)
1111

1212
func usePrecise(dur time.Duration) bool {

commands_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ import (
1010
. "github.com/onsi/ginkgo"
1111
. "github.com/onsi/gomega"
1212

13-
"github.com/go-redis/redis/v7"
14-
"github.com/go-redis/redis/v7/internal/proto"
13+
"github.com/go-redis/redis/v8"
14+
"github.com/go-redis/redis/v8/internal/proto"
1515
)
1616

1717
var _ = Describe("Commands", func() {

error.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"net"
77
"strings"
88

9-
"github.com/go-redis/redis/v7/internal/proto"
9+
"github.com/go-redis/redis/v8/internal/proto"
1010
)
1111

1212
func isRetryableError(err error, retryTimeout bool) bool {

example_instrumentation_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"context"
55
"fmt"
66

7-
"github.com/go-redis/redis/v7"
7+
"github.com/go-redis/redis/v8"
88
)
99

1010
type redisHook struct{}

example_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
"sync"
88
"time"
99

10-
"github.com/go-redis/redis/v7"
10+
"github.com/go-redis/redis/v8"
1111
)
1212

1313
var ctx = context.Background()

0 commit comments

Comments
 (0)