As we are learning about the system that we are going to use for the rest of the book, I would strongly recommend downloading the source code and running it in your favorite IDE.
All of the code in this chapter is available at https://github.com/PacktPublishing/Hands-On-Dependency-Injection-in-Go/tree/master/ch04.
Instructions on how to obtain the code and configure the sample service are available in the README file, found at https://github.com/PacktPublishing/Hands-On-Dependency-Injection-in-Go/.
You can find the code for the service in the ch04/acme file.