go-redis / redismock

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

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

Open calthomson opened 2 years ago

calthomson commented 2 years 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 2 years ago

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

ShuaiGao commented 2 years 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. 😃