Repository to explore the SOLID principles in a simple Go Gin poject.
- Go 1.18 or higher
- Make sure to download all Needed tools
- Clone the repository
git clone https://github.com/dasalgadoc/solid-example.git
- Build up go project
go get .
- Run the API
go run main.go
This project tries to explore the SOLID principle through a simple Book CRUD Rest API, the project does not apply any infrastructure.
You may go between the branches in this sample repository to emphasize the desired topic.
git checkout 1-srpgit checkout 2-srpgit checkout 1-ocpgit checkout 2-ocpgit checkout lspgit checkout ispgit checkout dipDo you prefer "Java" over "Go"? see this repository
