A lightweight yet powerful configuration manager for Go that supports JSON, YAML, TOML, .env files, and environment variables.
GoLobby Config is a configuration manager for Go that loads settings from files like JSON, YAML, TOML, and .env, as well as OS environment variables, into Go structs. It solves the problem of managing application configuration across different environments by providing a unified, type-safe approach.
Go developers building applications that require flexible configuration management, especially those deploying in containerized or multi-environment setups.
Developers choose GoLobby Config for its lightweight design, support for multiple configuration sources with override precedence, and features like live reload via signals, which reduce deployment friction.
A lightweight yet powerful configuration manager for the Go programming language
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Supports JSON, YAML, TOML, .env files, and OS environment variables out of the box, allowing flexible configuration sourcing as shown in the feeders section.
Maps configuration data directly into Go structs with optional env tags, ensuring type safety and clean code structure, as demonstrated in the DotEnv and Env feeder examples.
Listens for SIGHUP signals to refresh configuration without restarting the application, detailed in the Listener section for long-running services.
Allows custom feeders via a simple interface, enabling integration with third-party sources, as mentioned in the Feeders documentation.
Relies on third-party packages for YAML (go-yaml/yaml) and TOML (BurntSushi/toml) parsing, which can introduce compatibility or maintenance overhead.
No advanced validation features are provided; error handling is basic and often requires manual checks in the Setup() method, as seen in the example.
Tightly integrates with GoLobby's other packages (DotEnv, Env) for environment handling, potentially tying users to a specific ecosystem.