Skip to content

Commit bfe327c

Browse files
committed
feat✨: upgrade to 1.20 and related dependencies
1 parent 058cebf commit bfe327c

File tree

3 files changed

+14
-7
lines changed

3 files changed

+14
-7
lines changed

go.mod

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,19 @@
11
module github.com/go-admin-team/redis-watcher/v2
22

3-
go 1.18
3+
go 1.20
4+
5+
require (
6+
github.com/casbin/casbin/v2 v2.77.2
7+
github.com/casbin/redis-watcher/v2 v2.5.0
8+
github.com/google/uuid v1.4.0
9+
github.com/redis/go-redis/v9 v9.3.0
10+
)
411

512
require (
6-
github.com/casbin/casbin/v2 v2.54.0
7-
github.com/go-redis/redis/v9 v9.0.0-rc.1
8-
github.com/google/uuid v1.3.0
913
github.com/Knetic/govaluate v3.0.1-0.20171022003610-9aa49832a739+incompatible // indirect
10-
github.com/cespare/xxhash/v2 v2.1.2 // indirect
14+
github.com/cespare/xxhash/v2 v2.2.0 // indirect
1115
github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f // indirect
16+
github.com/tidwall/gjson v1.14.4 // indirect
17+
github.com/tidwall/match v1.1.1 // indirect
18+
github.com/tidwall/pretty v1.2.0 // indirect
1219
)

options.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
package rediswatcher
22

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

88
type WatcherOptions struct {

watcher.go

Lines changed: 1 addition & 1 deletion
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/v9"
15+
rds "github.com/redis/go-redis/v9"
1616
)
1717

1818
type Watcher struct {

0 commit comments

Comments
 (0)