You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
go build
# github.com/vmihailenco/taskq/v3
..\..\..\..\go\pkg\mod\github.com\vmihailenco\taskq\[email protected]\consumer.go:720:38: cannot use c.opt.Redis (variable of type Redis) as type redislock.RedisClient in argument to redislock.Obtain:
Redis does not implement redislock.RedisClient (wrong type for Eval method)
have Eval(ctx context.Context, script string, keys []string, args ...interface{}) *"github.com/go-redis/redis/v8".Cmd
want Eval(ctx context.Context, script string, keys []string, args ...interface{}) *"github.com/go-redis/redis/v9".Cmd
after that, i used this commend
go mod why github.com/go-redis/redis/v9
# github.com/go-redis/redis/v9
main/tasks/task_queue
github.com/vmihailenco/taskq/v3
github.com/bsm/redislock
github.com/go-redis/redis/v9
after that, i used this commend
in this href: https://github.com/vmihailenco/taskq/blob/v3/consumer.go
i found the file using
github.com/go-redis/redis/v9
, but in other file eg:https://github.com/vmihailenco/taskq/blob/v3/taskq.go.the project using
github.com/go-redis/redis/v8
The text was updated successfully, but these errors were encountered: