redis / rueidis

A fast Golang Redis client that supports Client Side Caching, Auto Pipelining, Generics OM, RedisJSON, RedisBloom, RediSearch, etc.
Apache License 2.0
2.34k stars 149 forks source link

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

Closed rueian closed 7 months ago

rueian commented 8 months ago

Following the https://github.com/redis/rueidis/issues/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.

DestroyerAlpha commented 7 months ago

This is also used in rueidishook package.

prashantrewar commented 7 months ago

/assign