Some resources I’ve found incredibly useful in learning Go, aka Golang.
Start exploring Go by writing tests with Learn Go with Tests.
Above all, I’d recommend the The Go Programming Language book. It was published in 2015, but thanks to the stability of the Go language, this is still the best book for picking up Go.
export GOPATH=~/go
export PATH="$GOPATH/bin:$PATH"
eval "$(gimme 1.12.7)"
brew install gimme; eval "$(gimme 1.12.7)"
GO111MODULE=on
and keep your Go code in your GOPATH