Store installation fails
peteraba opened this issue · 6 comments
I'm trying to install gocache for the first time. That in itself seemed fine, but installing stores seems to be broken.
Steps for Reproduction
Follow the instructions written in the README for installing gocache
Expected behavior:
Bigcache or Ristretto stores installed.
Actual behavior:
Failure to install stores (2 out of 2)
$ go get github.com/eko/gocache/store/bigcache/v4
go: downloading github.com/eko/gocache/store/bigcache/v4 v4.1.2
go: github.com/eko/gocache/lib/v4@v4.1.1: reading github.com/eko/gocache/lib/go.mod at revision lib/v4.1.1: unknown revision lib/v4.1.1
go get github.com/eko/gocache/store/ristretto/v4
go: downloading github.com/eko/gocache/store/ristretto/v4 v4.1.2
go: github.com/eko/gocache/lib/v4@v4.1.1: reading github.com/eko/gocache/lib/go.mod at revision lib/v4.1.1: unknown revision lib/v4.1.1
Platforms:
OS: Linux (Fedora 38)
Go: go1.20.4 linux/amd64
Versions:
Which versions are you running? v4.1.3
The same with go_cache
v4.1.2 - it refers to not existing github.com/eko/gocache/lib/v4 v4.1.1
- see https://github.com/eko/gocache/blob/store/go_cache/v4.1.2/store/go_cache/go.mod
Hi @ashtonian,
Thank you, I am currently off and have no laptop but I write on top of my todo list to make a new release on monday.
Hi @peteraba @ashtonian,
All stores should now be updated and tagged to use lib v4.1.3
(latest one).
If you still have any issue with Go module cache, please for the version with the latest store version, for instance:
$ go get github.com/eko/gocache/store/ristretto/v4@v4.2.0
go: downloading github.com/eko/gocache/store/ristretto/v4 v4.2.0
go: added github.com/eko/gocache/lib/v4 v4.1.3
go: added github.com/eko/gocache/store/ristretto/v4 v4.2.0
go: added github.com/golang/mock v1.6.0
go: added golang.org/x/exp v0.0.0-20230315142452-642cacee5cc0
Sorry about that and thank you for your patience!
Closing this issue for now but feel free to reopen if you still have any issue!
works, thank you!