/repository-go

Explore some concepts of Repoitory Pattern in Go

Primary LanguageGo

🚀 🐹 Repository Pattern in Go 🐹 🚀

Go

Project to explore some techniques to implement the repository pattern in go.

🤔 What's the repository pattern

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.

🧲 Environment Setup

🛠️ Needed tools

  1. Go 1.20 (recommended)

🏃🏻 Application execution

  1. Make sure to download all Needed tools
  2. Clone the repository
git clone https://github.com/dasalgadoc/repository-go.git
  1. Build up go project
go mod download
go get .

📚 References