Closed shmsr closed 3 years ago
Updating redismock/v8 to support go-redis v8.3.3
redismock/v8
go-redis v8.3.3
With the go-redis v8.3.3, the ClientMock couldn't satisfy the interface redis.Cmdable.
ClientMock
redis.Cmdable
Sample error message: cannot use &(ClientMock literal) (value of type *ClientMock) as redis.Cmdable value in variable declaration: missing method SetEX
Sample error message:
cannot use &(ClientMock literal) (value of type *ClientMock) as redis.Cmdable value in variable declaration: missing method SetEX
The PR fixes that by adding the SetEX method.
SetEX
This change is
Updating
redismock/v8
to supportgo-redis v8.3.3
With the
go-redis v8.3.3
, theClientMock
couldn't satisfy the interfaceredis.Cmdable
.The PR fixes that by adding the
SetEX
method.This change is