Describe the bug
I try to install via go get github.com/jesseduffield/lazygit
but get
package math/bits: unrecognized import path "math/bits" (import path does not begin with hostname)
To Reproduce
s.a.
Expected behavior
I would expect lazygit to be installed
Desktop (please complete the following information):
Your version of Golang is too old. Follow the official instructions on how to get a newer version.
I now have installed go 1.10.3 via linuxbrew and activated it via update-alternatives ... but still have the same issue:
:~$ go version
go version go1.10.3 linux/amd64
:~$
:~$ go get github.com/jesseduffield/lazygit
package math/bits: unrecognized import path "math/bits" (import path does not begin with hostname)
ideas?
Never used linuxbrew, but my guess is that you need to point your GOROOT towards wherever your custom Go is installed. Then run go env to double-check.
yep, go env still showed the old version, thanks!
Most helpful comment
Never used linuxbrew, but my guess is that you need to point your
GOROOTtowards wherever your custom Go is installed. Then rungo envto double-check.