Config

Layered, thread-safe configuration for Go

Stable Used by LogWisp.

Thread-safe configuration for Go from defaults, TOML files, environment and flags, with configurable precedence and per-value source tracking.

  • Struct-based, typed and validated
  • Configurable precedence across sources
  • Reloads when the TOML file changes
  • Reports where each value came from