Reputation: 11251
I would like to use zvelo/ttlru and have successfully go get
this package from github.
Problem:
The following error occurs, when I try to go run
my go program, that contains the import "github.com/zvelo/ttlru"
:
go_server.go:8:2: code in directory /home/.../work_go/src/github.com/zvelo/ttlru expects import "zvelo.io/ttlru"
What is wrong here? I don't see any zvelo.io/ttlru
imports anywhere.
Upvotes: 4
Views: 86
Reputation: 957
As stated in the README.md and the error message, import from zvelo.io/ttlru and not github.com/zvelo/ttlru.
Make sure to use go get zvelo.io/ttlru
You will then find the source of the package in /home/.../work_go/src/zvelo.io/ttlru/
.
Upvotes: 2