There are multiple resources available to learn Go. The Go Playground allows you to write code in the browser and test it, without that you need to install anything locally.

Golang Resources

Free books

Example code

If you want to start developing Golang more seriously, you will not get around using an IDE that offers you autocompletion and also Debugging capabilities.

IDEs

Install the Golang runtime environment by following the instructions at https://golang.org/doc/install. If you are installing Go on Windows you can use the MSI Installer which also sets environment variables in the system. These environment variables are needed to access go from the command line.

Setup

go get -u github.com/ajstarks/svgo/benchviz
go get -u github.com/golang/lint/golint
go get -u golang.org/x/tools/cmd/benchcmp