This repository is an implementation of the Developing a RESTful API with Go and Gin tutorial to learn Go language.
The purpose of this project was to learn Go and to experiment:
- Clean architecture in Go.
- The testify package for the tests.
- TDD in Go.
- The Gin Web Framework (REST API).
- Dependency injection.
To get started:
- Install the Go version defined in .tool-versions, I recommend to use asdf.
- Install make.
- To test if the application works, run:
# In one Terminal
make start
# In another Terminal
make get-albums # => it should return a valid HTTP response
- Run
make help
to see all available commands.