Template for building services in Go.
- Minimum dependencies service template
- Structure logging with zerolog
- Prometheus metrics
- Admin endpoints on separate port
- HTTP response helpers
- HTTP chainable middlewares
- Dockerfile and Kubernetes deployments
- Local development with Tilt and Kind
- Github Actions
- Grafana dashboard deployed to Grafana from config map
Requests for:
Can be run directly from VS Code using Rest Client.
Setting up local Kubernetes environment is easy.
Make sure you have Kind installed:
brew install kind
Setup local cluster:
./hack/kind.sh
Run tilt - this will deploy go-svc along with kube-prometheus-stack for monitoring:
tilt up
Example dashboard is deployed to Grafana from config map.