The full code for all topics discussed within this chapter has been published to this book's GitHub repository in the Chapter12 folder.
You can access the GitHub repository that contains the code and all required resources for each one of this book's chapters by pointing your web browser at the following URL: https://github.com/PacktPublishing/Hands-On-Software-Engineering-with-Golang.
Each example project for this chapter includes a common 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 other chapters from 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 [2] installation on your machine. Furthermore, for the last part of this chapter, you will need access to a Kubernetes cluster. 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.