Technical requirements

In order to proceed with all the recipes in this chapter, configure your environment according to these steps:

  1. Download and install Go 1.12.6, or later, on your operating system at https://golang.org/doc/install.
  2. Open a Terminal/console application; create and navigate to a project directory such as ~/projects/go-programming-cookbookAll code will be run and modified from this directory.
  1. Clone the latest code into ~/projects/go-programming-cookbook-original and, optionally, work from that directory, rather than typing in the examples manually:
$ git clone git@github.com:PacktPublishing/Go-Programming-Cookbook-Second-Edition.git go-programming-cookbook-original