November 2017
Intermediate to advanced
670 pages
17h 35m
English
First, let's make sure we have Go installed, our GOPATH is properly set, and that we can run a Go application.
If you are using a macOS, then check out the instructions on how to use the brew command to install Go in the appendix; otherwise, to install Go, visit: http://golang.org/doc/install. To set your GOPATH, visit: https://github.com/golang/go/wiki/SettingGOPATH.
Many people use a global GOPATH to store the source code for all their Go applications or, frequently, manually reset their GOPATH. I found this practice to be troublesome when working with multiple Go projects for multiple clients, each of which had differing Go versions and third-party dependencies.
The example Go applications that we'll ...