78
GitHub - sagikazarmark/modern-go-application: Modern Go Application example
source link: https://github.com/sagikazarmark/modern-go-application
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
README.md
Modern Go Application
This repository has multiple purposes:
- It serves as a boilerplate for new projects
- It tries to collect the best practices for various areas of developing a (modern) application
It tries to include many things related to application development:
- architecture
- package structure
- building the application
- testing
- configuration
- running the application (eg. Docker)
- developer environment/experience
- instrumentation
Some of the features:
- graceful reload (using github.com/cloudflare/tableflip) and shutdown
- support for multiple server/daemon instances (using github.com/oklog/run)
- metrics and tracing using Prometheus and Jaeger (via OpenCensus)
- logging (using github.com/go-kit/kit)
- health checks (using github.com/InVisionApp/go-health)
- configuration (using github.com/spf13/viper)
License
The MIT License (MIT). Please see License File for more information.
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK