Skip to content

Set of utilities for creating golang applications

License

Notifications You must be signed in to change notification settings

Vanclief/compose

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

compose

Warning: This package is still in development and things keep changing so things may break.

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 standarizes 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

About

Set of utilities for creating golang applications

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages