It may be convenient to install the latest version of Go through the Homebrew and Linuxbrew package managers.
$ brew install go
The https://golang.org/dl/ page contains distros for Windows, MacOS, Linux, and source. The installation instructions explains how to install them.
$ go version
go version go1.13 darwin/amd64$ go get github.com/solidnerd/go-workshop
or
$ mkdir -p $GOPATH/src/github.com/solidnerd/go-workshop
$ git clone $GOPATH/src/github.com/solidnerd/go-workshop
Check your installation with a first running Go Programm
$ go run github.com/solidnerd/go-workshopAftwards switch to the Workshop Dir
$ cd $GOPATH/src/github.com/solidnerd/go-workshopA lot of inspiration and examples comes from here sendwithus/workshop-go