-
Notifications
You must be signed in to change notification settings - Fork 107
Open
Description
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
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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels