compose

module
v1.6.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 26, 2025 License: MIT

README

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL