bsm / redis-lock

[DEPRECATED] Please see https://github.com/bsm/redislock instead

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Broken dependency

dobegor opened this issue · comments

severity: 'Error'
message: 'code in directory /Users/egor/go/src/github.com/go-redis/redis expects import "gopkg.in/redis.v5"'
at: '10,2'
source: ''

Cause: 0a3c01f

Please revert back to v.5, because this breaks importing this package and using gopkg-versioned version of go-redis, which is kinda essential.

Reproducible even on fresh (zeroed GOPATH) install:

$ go get -u -v github.com/bsm/redis-lock
github.com/bsm/redis-lock (download)
github.com/go-redis/redis (download)
package github.com/go-redis/redis: code in directory /Users/egor/go/src/github.com/go-redis/redis expects import "gopkg.in/redis.v5"

Sorry, I jumped ahead a little too quickly on this one. Go-redis' v6 release is due in the next few days and will fix the problem, There is a v5 of redis-lock available at https://github.com/bsm/redis-lock/releases/tag/v5.0.0, but I will add a default branch for this too

I made v5 the default branch for now, until go-redis.v6 is out.