Technical requirements
In this chapter, we will write a large amount of Golang code. To be able to follow along, you will need the following:
- Golang: You can find instructions to install it at https://go.dev/doc/install. The code in this chapter was written with Go 1.19.3 installed, so anything later than this should be fine.
- A text editor or IDE: Some popular options are VS Code (https://code.visualstudio.com/download) or GoLand (https://www.jetbrains.com/help/go/installation-guide.html). All screenshots in this section are taken from GoLand.
- GitHub repository: All code for this section can be found here: https://github.com/PacktPublishing/Domain-Driven-Design-with-GoLang/tree/main/chapter5.
- Docker: We will use this to run a database on our machine. You can find instructions on how to install Docker here: https://docs.docker.com/compose/install.
A friendly warning
The application we are going to create in this chapter is intended for demonstration only...