This template can be used as a starting point for developing modern web services in Go.
- Business logic decoupled via domain in
internal
directory - Dependency injection employed to make testing easier
- Environment-specific configuration files in
config
directory - Auto-generated OpenAPI docs by running
make docs
- Ent, a rich, type-safe ORM that supports auto-migrations
make compose-up
make run
Server will be live now on http://localhost:8080
Swagger API documentation will be live on http://localhost:8080/swagger/index.html
make compose-down
make ent
Click here to find more about ent
make test