redis / rueidis

A fast Golang Redis client that supports Client Side Caching, Auto Pipelining, Generics OM, RedisJSON, RedisBloom, RediSearch, etc.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Move the uber `mock` dependency to the `mock` subpackage

rueian opened this issue · comments

Following the #447,

We should continue to reduce unnecessary dependencies for users.

The go.uber.org/mock is only used in the mock subpackage. It will be better to move the dependency to mock's go.mod.

This is also used in rueidishook package.

/assign