compose
Warning: This package is still in development and things keep changing
so things may break slightly
A collection of opinionated modules created for building golang applications
quicker while keeping best practices.
Why
Most applications have many components in common:
- Loading config & env variables
- Logging
- Keeping a state
- Long term storage
- APIs
- Authentication
- Role management
In the spirit of keeping it DRY, this package standardizes everything so we can use the same components on every application.
Instalation
go get -u github.com/vanclief/compose
Usage
- config - Loading env/ settings
Dependencies
- ez - Better error handling & error stack traces
- zerolog - Lightweight and minimalistic logging
- promtail-go - Promtail + Grafana = Awesome logs
- echo - HTTP router
- ozzo-validation - Struct validation
- viper - Env variables & config files