It would be beneficial to be familiar with the code for our service we introduced in Chapter 4, Introduction to the ACME Registration Service. This chapter also assumes that you have read Chapter 6, Dependency Injection with Constructor Injection, and, to a lesser extent, Chapter 5, Dependency Injection with Monkey Patching.
You might also find it useful to read and run the full version of the code for this chapter, which is available at https://github.com/PacktPublishing/Hands-On-Dependency-Injection-in-Go/tree/master/ch09.
Instructions to obtain the code and configure the sample service are available in the README section here: https://github.com/PacktPublishing/Hands-On-Dependency-Injection-in-Go/.
You can find the code for our service, with the changes from this chapter already applied, in ch09/acme.
In this chapter...