Skip to content

Go Gin Boilerplate for Microservice development with graceful shutdown

License

Notifications You must be signed in to change notification settings

iquzart/gin-boilerplate

Repository files navigation

Gin Boilerplate

Build and Test Go Report Card GitHub Metrics Support

Golang Gin Boilerplate

Features

  1. Configurable Graceful Shutdown
  2. Custom ports
  3. Health check for Kubernetes
  4. Prometheus Metrics

Environment Veriables

Variable Description Default
PORT Application port 8080
GIN_MODE Gin Modes - debug, release, test release
ENABLE_GRACEFUL_SHUTDOWN To enable graceful shutdown of the application true
API_VERSION Set API version for the application v1.0.0

License

MIT

Author Information

Muhammed Iqbal iquzart@hotmail.com