Skip to content

Commit 7779acc

Browse files
committed
Use semantic import versioning
1 parent 87225c1 commit 7779acc

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

+58
-57
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"
11+
"github.com/go-redis/redis/v7"
1212
)
1313

1414
func benchmarkRedisClient(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/internal"
17-
"github.com/go-redis/redis/internal/hashtag"
18-
"github.com/go-redis/redis/internal/pool"
19-
"github.com/go-redis/redis/internal/proto"
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"
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"
13-
"github.com/go-redis/redis/internal/hashtag"
12+
"github.com/go-redis/redis/v7"
13+
"github.com/go-redis/redis/v7/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
@@ -7,9 +7,9 @@ import (
77
"strings"
88
"time"
99

10-
"github.com/go-redis/redis/internal"
11-
"github.com/go-redis/redis/internal/proto"
12-
"github.com/go-redis/redis/internal/util"
10+
"github.com/go-redis/redis/v7/internal"
11+
"github.com/go-redis/redis/v7/internal/proto"
12+
"github.com/go-redis/redis/v7/internal/util"
1313
)
1414

1515
type Cmder interface {

command_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package redis_test
33
import (
44
"time"
55

6-
"github.com/go-redis/redis"
6+
"github.com/go-redis/redis/v7"
77

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

commands.go

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

8-
"github.com/go-redis/redis/internal"
8+
"github.com/go-redis/redis/v7/internal"
99
)
1010

1111
func usePrecise(dur time.Duration) bool {

commands_test.go

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

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

1616
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/internal/proto"
9+
"github.com/go-redis/redis/v7/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"
7+
"github.com/go-redis/redis/v7"
88
)
99

1010
type redisHook struct{}

example_test.go

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

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

1212
var redisdb *redis.Client

0 commit comments

Comments
 (0)