RESTful application boilerplate in #golang taking best practices

This starter kit is designed to get you up and running with a project structure optimal for developing RESTful services in Go. The kit promotes the best practices that follow the SOLID principles and encourage writing clear and idiomatic Go code.

https://github.com/qiangxue/golang-restful-starter-kit

The kit provides the following features right out of the box:

  • RESTful endpoints in the widely accepted format
  • Standard CRUD operations of a database table
  • JWT-based authentication
  • Application configuration via environment variable and configuration file
  • Structured logging with contextual information
  • Panic handling and proper error response generation
  • Automatic DB transaction handling
  • Data validation
  • Full test coverage