An opinionated starter for Go Backend projects using:
gin-gonic/ginas the REST frameworklogrusfor loggingviperfor configsDockerfor containerization
To be added:
sqlcfor type-safe SQL Go code generationgolang-migrate/migratefor migrationjwtauthenticationcasbinauthorizationprometheusmonitoring
Run make docker-build-run to build the command and run the container. Note that the port is set as 8080 by default.
Verify by checking localhost:8080/ping. You should receive a pong
Feel free to raise a PR with one of the features from "To be added" section.
If you want a new feature PR, raise an issue to discuss about it.