go-redis / redismock

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

How to mock gomock.Any()? #72

Open fcgxz2003 opened 1 year ago

fcgxz2003 commented 1 year ago

What methods in redismock can replace gomock.Any()?

nicolasassi commented 10 months ago

That would be useful for me as well

mminklet commented 5 months ago

for mock.Mock based mocks you can pass in https://pkg.go.dev/github.com/stretchr/testify/mock#AnythingOfType or similar