Skip to content

Commit

Permalink
feat: update to libredis v9
Browse files Browse the repository at this point in the history
  • Loading branch information
kolaente authored and novln committed Jan 31, 2023
1 parent 1324de5 commit 42fe29c
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion drivers/store/redis/store.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import (
"sync/atomic"
"time"

libredis "github.com/go-redis/redis/v8"
"github.com/pkg/errors"
libredis "github.com/redis/go-redis/v9"

"github.com/ulule/limiter/v3"
"github.com/ulule/limiter/v3/drivers/store/common"
Expand Down
2 changes: 1 addition & 1 deletion drivers/store/redis/store_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"testing"
"time"

libredis "github.com/go-redis/redis/v8"
libredis "github.com/redis/go-redis/v9"
"github.com/stretchr/testify/require"

"github.com/ulule/limiter/v3"
Expand Down
10 changes: 6 additions & 4 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,23 @@ go 1.17

require (
github.com/gin-gonic/gin v1.7.7
github.com/go-redis/redis/v8 v8.11.4
github.com/pkg/errors v0.9.1
github.com/stretchr/testify v1.7.0
github.com/redis/go-redis/v9 v9.0.1
github.com/stretchr/testify v1.8.1
github.com/valyala/fasthttp v1.34.0
)

require (
github.com/andybalholm/brotli v1.0.4 // indirect
github.com/cespare/xxhash/v2 v2.1.2 // indirect
github.com/cespare/xxhash/v2 v2.2.0 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f // indirect
github.com/gin-contrib/sse v0.1.0 // indirect
github.com/go-playground/locales v0.13.0 // indirect
github.com/go-playground/universal-translator v0.17.0 // indirect
github.com/go-playground/validator/v10 v10.4.1 // indirect
github.com/golang/protobuf v1.5.2 // indirect
github.com/google/go-cmp v0.5.6 // indirect
github.com/json-iterator/go v1.1.9 // indirect
github.com/klauspost/compress v1.15.0 // indirect
github.com/leodido/go-urn v1.2.0 // indirect
Expand All @@ -31,7 +32,8 @@ require (
github.com/valyala/bytebufferpool v1.0.0 // indirect
golang.org/x/crypto v0.0.0-20220214200702-86341886e292 // indirect
golang.org/x/sys v0.0.0-20220227234510-4e6760a101f9 // indirect
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 // indirect
google.golang.org/protobuf v1.26.0 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)

0 comments on commit 42fe29c

Please sign in to comment.