It would be beneficial to be familiar with the code for our service as we introduced in Chapter 4, Introduction to ACME Registration Service. This chapter also assumes that you have read Chapter 6, Dependency Injection with Constructor Injection, and Chapter 7, Dependency Injection with Method Injection.
You might also find it useful to read and run the full versions of the code for this chapter, which is available at https://github.com/PacktPublishing/Hands-On-Dependency-Injection-in-Go/tree/master/ch08.
Instructions to obtain the code and configure the sample service are available in the README 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 ch08/acme.