Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Golang: cannot install package zvelo/ttlru

Tags:

package

go

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.

like image 677
Rudziankoŭ Avatar asked Mar 07 '23 14:03

Rudziankoŭ


1 Answers

try go getting and importing "zvelo.io/ttlru"

like image 92
CallMeLoki Avatar answered Mar 15 '23 09:03

CallMeLoki