Go Cookbook
上QQ阅读APP看书,第一时间看更新

Getting ready

Configure your environment according to these steps:

  1. Download and install Go on your operating system from https://golang.org/doc/install, and configure your GOPATH environment variable:
  2. Open a terminal/console application, and navigate to your GOPATH/src and create a project directory, for example, $GOPATH/src/github.com/yourusername/customrepo.

All code will be run and modified from this directory.

  1. Optionally, install the latest tested version of the code using the go get github.com/agtorre/go-cookbook/ command.