compose

module
v1.15.1 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2026 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
  • echo - HTTP router
  • viper - Env variables & config files

Directories

Path Synopsis
components
rest/generator
Package generator derives an OpenAPI 3.0 document from the source of an Echo application built on compose's rest handlers.
Package generator derives an OpenAPI 3.0 document from the source of an Echo application built on compose's rest handlers.
rest/reference
Package reference renders an OpenAPI 3.x document as a self-hosted API reference page: an alternative to Scalar and Redoc that ships inside the backend, with no CDN assets.
Package reference renders an OpenAPI 3.x document as a self-hosted API reference page: an alternative to Scalar and Redoc that ships inside the backend, with no CDN assets.
drivers
integrations
primitives
utils

Jump to

Keyboard shortcuts

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