Skip to content

Commit 8e469a2

Browse files
committed
升级redis v9
1 parent bc6a61d commit 8e469a2

File tree

4 files changed

+5
-6
lines changed

4 files changed

+5
-6
lines changed

go.mod

+1-4
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,8 @@ go 1.18
44

55
require (
66
github.com/casbin/casbin/v2 v2.54.0
7-
github.com/go-redis/redis/v8 v8.11.5
7+
github.com/go-redis/redis/v9 v9.0.0-rc.1
88
github.com/google/uuid v1.3.0
9-
)
10-
11-
require (
129
github.com/Knetic/govaluate v3.0.1-0.20171022003610-9aa49832a739+incompatible // indirect
1310
github.com/cespare/xxhash/v2 v2.1.2 // indirect
1411
github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f // indirect

go.sum

+2
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f/go.mod h1:cu
99
github.com/fsnotify/fsnotify v1.4.9 h1:hsms1Qyu0jgnwNXIxa+/V/PDsU6CfLf6CNO8H7IWoS4=
1010
github.com/go-redis/redis/v8 v8.11.5 h1:AcZZR7igkdvfVmQTPnu9WE37LRrO/YrBH5zWyjDC0oI=
1111
github.com/go-redis/redis/v8 v8.11.5/go.mod h1:gREzHqY1hg6oD9ngVRbLStwAWKhA0FEgq8Jd4h5lpwo=
12+
github.com/go-redis/redis/v9 v9.0.0-rc.1 h1:/+bS+yeUnanqAbuD3QwlejzQZ+4eqgfUtFTG4b+QnXs=
13+
github.com/go-redis/redis/v9 v9.0.0-rc.1/go.mod h1:8et+z03j0l8N+DvsVnclzjf3Dl/pFHgRk+2Ct1qw66A=
1214
github.com/golang/mock v1.4.4 h1:l75CXGRSwbaYNpl/Z2X1XIIAMSCquvXgpVZDhwEIJsc=
1315
github.com/golang/mock v1.4.4/go.mod h1:l3mdAwkq5BuhzHwde/uurv3sEJeZMXNpwsxVWU71h+4=
1416
github.com/google/uuid v1.3.0 h1:t6JiXgmwXMjEs8VusXIJk2BXHsn+wx8BZdTaoZ5fu7I=

options.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package rediswatcher
22

33
import (
4-
rds "github.com/go-redis/redis/v8"
4+
rds "github.com/go-redis/redis/v9"
55
"github.com/google/uuid"
66
)
77

watcher.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import (
1212
"github.com/casbin/casbin/v2"
1313
"github.com/casbin/casbin/v2/model"
1414
"github.com/casbin/casbin/v2/persist"
15-
rds "github.com/go-redis/redis/v8"
15+
rds "github.com/go-redis/redis/v9"
1616
)
1717

1818
type Watcher struct {

0 commit comments

Comments
 (0)