Configure your environment according to these steps:
- Download and install Go on your operating system from https://golang.org/doc/install, and configure your GOPATH environment variable.
- Open a terminal/console application.
- Navigate to your GOPATH/src and create a project directory, such as $GOPATH/src/github.com/yourusername/customrepo.
All code will be run and modified from this directory.
- Optionally, install the latest tested version of the code using the go get github.com/agtorre/go-cookbook/ command.
- Install the curl command from https://curl.haxx.se/download.html.