Closed haakonmo closed 4 years ago
Usage
import ( "github.com/alicebob/miniredis" redis "github.com/go-redis/redis/v7" "github.com/elliotchance/redismock/v7" ) func newTestRedis() *redismock.ClientMock { mr, err := miniredis.Run() if err != nil { panic(err) } client := redis.NewClient(&redis.Options{ Addr: mr.Addr(), }) return redismock.NewNiceMock(client) }
This change is
Usage
This change is