Closed iliakan closed 2 years ago
I suspect your version of Go is too old. Please follow https://go.dev/dl/ first.
go version go1.7.4 linux/amd64 too old?
Definitely! That’s from 2016! https://en.wikipedia.org/wiki/Go_(programming_language)#Version_history
Use the current major version of Go (1.17).
Well, that's Debian 9 version ;)
Did you try on Mac?
I just tried it on Mac.
go version go1.17.5 darwin/amd64
Seems to work ;)
I'm newbie to Go.
What should I install/setup before using instructions?
P.S.
apt-get install golang
and adding $GOPATH/$GOLANG wasn't enough.