This project made to combine some pretty beautiful thing together
net/http
as http server- gorilla/mux as router
- Sentry as APM
- sirupsen/logrus as base of logging
- ilyakaznacheev/cleanenv for managing configurations
- slok/go-http-metrics as middleware for exporting prometheus metrics
- rs/cors as middleware for CORS
- mvrilo/go-redoc for redoc view
- rapi-doc/RapiDoc for RapiDoc view instead of swagger
- go-playground/validator as base of validation
logger
: package for logging on top of sirupsen/logrus with option to sent logs to SentryhttpHandlers
: all of the http handlers should be herehttpServer
: http server components are here ready to usetype
: every type that we want every where should be hereconfiguration
: on top of ilyakaznacheev/cleanenv this will manage our configurations with a simple function that returns a variable with Configuration structair
: executable version of cosmtrek/air is here to help you with live reloading you code (configuration for that is present here)validator
: package for validating our things
Moved to GitHub Project