A template of clean architecture written by Go (with generics)
This template uses following Go frameworks/tools:
- labstack/echo as a web framework
- ent/ent as an entity framework (ORM)
- golang/mock as a mocking framework
- google/go-cmp as an assertion tool
- golangci/golangci-lint as a linters runner
- cosmtrek/air as a live reload tool
NOTE: This project uses Makefile as a task runner.
# docker is required to set up database.
make db-up
make dev
make test-all
for checking only unit tests, then
make test-unit
for checking only integration tests, then
make test-integration
make lint
🚧👷 Under construction...