Technical requirements

The full code for the topics that will be discussed in this chapter has been published to this book's GitHub repository under the Chapter10 folder.

You can access this book's GitHub repository, which contains the code and all the required resources for the chapters in this book, by pointing your web browser to the following URL: https://github.com/PacktPublishing/Hands-On-Software-Engineering-with-Golang.

To get you up and running as quickly as possible, each example project includes a Makefile that defines the following set of targets:

Makefile target Description
deps Install any required dependencies.
test Run all tests and report coverage.
lint Check for lint errors.

 

As with all the other chapters in this book, you will need a fairly recent version of Go, which you can download at https://golang.org/dl.

To run some of the code in this chapter, you will need to have a working Docker [5] installation on your machine. Furthermore, a subset of the examples have been designed to run on Kubernetes [8]. If you don't have access to a Kubernetes cluster for testing, you can simply follow the instructions laid out in the following sections to set up a small cluster on your laptop or workstation.