mirror of
https://github.com/go-eagle/eagle.git
synced 2025-10-14 12:54:16 +08:00
chore: modify RedisClient
This commit is contained in:
2
pkg/cache/redis_test.go
vendored
2
pkg/cache/redis_test.go
vendored
@@ -13,7 +13,7 @@ func Test_redisCache_SetGet(t *testing.T) {
|
||||
redis2.InitTestRedis()
|
||||
|
||||
// 获取redis客户端
|
||||
redisClient := redis2.Client
|
||||
redisClient := redis2.RedisClient
|
||||
// 实例化redis cache
|
||||
cache := NewRedisCache(redisClient, "unit-test", JSONEncoding{}, func() interface{} {
|
||||
return new(int64)
|
||||
|
Reference in New Issue
Block a user