Project to explore some techniques to implement the repository pattern in go.
The repository pattern is a design pattern that isolates the application/business layer from the data layer.
This generate an anti-corruption layer between the application and the data layer and isolates infrastructure details from services.
- Go 1.20 (recommended)
- Make sure to download all Needed tools
- Clone the repository
git clone https://github.com/dasalgadoc/repository-go.git
- Build up go project
go mod download
go get .