GO Background SVC Starter Template
What is this?
This is a starter template intended for kick starting a simple background service.
It provides
- A top level main that listens for SIGINT and SIGTERM and gracefully closes its database connection and signals to sub routines to exit
- Has 2 go routines increment and print, that accept cancellation contexts
- Has a simple embedded data store badger
- Has a starting point for configuration with a interface wrapper around viper
- Has a github workflow
- Has a dev container
- Has a Dockerfile
- Has a Makefile for common tasks such as building, testing, linting
- Is automatically updated with renovate renovate.json