diff --git a/client.go b/client.go index de19571..f08204b 100644 --- a/client.go +++ b/client.go @@ -9,15 +9,16 @@ package redis import ( "context" - "git.zhangdeman.cn/zhangdeman/redis/abstract" - "git.zhangdeman.cn/zhangdeman/redis/define" - "git.zhangdeman.cn/zhangdeman/wrapper" - "github.com/pkg/errors" - redisClient "github.com/redis/go-redis/v9" - "go.uber.org/zap" "strings" "sync" "time" + + "git.zhangdeman.cn/zhangdeman/redis/abstract" + "git.zhangdeman.cn/zhangdeman/redis/define" + wrapperOperate "git.zhangdeman.cn/zhangdeman/wrapper" + "github.com/pkg/errors" + redisClient "github.com/redis/go-redis/v9" + "go.uber.org/zap" ) var Client abstract.IRedisClient @@ -67,7 +68,7 @@ func (o *OwnClient) Exec(ctx context.Context, instanceFlag string, command strin } argStrList := make([]string, 0) for _, itemArg := range args { - argStrList = append(argStrList, wrapper.AnyDataType(itemArg).ToString().Value()) + argStrList = append(argStrList, wrapperOperate.AnyDataType(itemArg).ToString().Value()) cmdParamList = append(cmdParamList, itemArg) } res := &define.RedisResult{