In order to proceed with all the recipes in this chapter, configure your environment according to these steps:
- Download and install Go 1.12.6, or later, on youroperatingsystem athttps://golang.org/doc/install.
- Open a Terminal/console application and create and navigate to a project directory, such as ~/projects/go-programming-cookbook. All code will be run and modified from this directory.
- Clone the latest code into~/projects/go-programming-cookbook-original. If you wish, you can work from this directory rather than type the examples manually:
$ git clone git@github.com:PacktPublishing/Go-Programming-Cookbook-Second-Edition.git go-programming-cookbook-original