go-redis / redismock

Redis client Mock
https://redis.uptrace.dev
BSD 2-Clause "Simplified" License
272 stars 59 forks source link

How to mock github.com/go-redis/redis/v9 #37

Open calthomson opened 1 year ago

calthomson commented 1 year ago

redismock only seems to be available for go-redis/redis/v8, but we are using go-redis/redis/v9. Strangely, I haven't been able to find any discussions about this. Is this because v9 is still in beta perhaps?

pjmiravalle commented 1 year ago

I have the same question. Are there any plans to support mocks for go-redis/redis/v9?

ShuaiGao commented 1 year ago

same question.

hongbo-miao commented 1 year ago

github.com/go-redis/redismock/v9 is available now. Plus github.com/go-redis/redis/v9 moved/renamed to github.com/redis/go-redis/v9. 😃