redis icon indicating copy to clipboard operation
redis copied to clipboard

Upgraded go-redis to v9

Open joshuamorris3 opened this issue 2 years ago • 1 comments

Upgrade the version of go-redis to v9. This is to get past the issue where we cannot use the v9 redis.Client as the argument to NewRedisStoreWithCli. The error looks something like of type *"github.com/go-redis/redis/v9".Client) as type *"github.com/go-redis/redis/v8".Client in argument to oredis.NewRedisStoreWithCli.

To support future go-redis version changes, the redis.Client has been changed to the redis.UniversalClient interface.

joshuamorris3 avatar Jan 19 '23 23:01 joshuamorris3

In addition to these changes the project EdnitionCode go-oauth2-redis has commited changes to support the go-redis import statement change related to the following PR https://github.com/redis/go-redis/pull/2362

joshuamorris3 avatar Jun 12 '23 19:06 joshuamorris3