A flexible Go module for sourcing configuration variables from multiple, prioritized locations.
This library simplifies configuration management by providing a single, consistent interface to find and search for values across different environments, from local development to deployments in Kubernetes. Taste it! ❤️
go get github.com/therenotomorrow/enw@latestgo version
# go version go1.24.0
just --version
# just 1.40.0PROJECT_ROOT=enw
git clone https://github.com/therenotomorrow/enw.git "$PROJECT_ROOT"
cd "$PROJECT_ROOT"# install dependencies
go mod download
go mod verify
# check code integrity
just code test smoke
# setup safe development (optional)
git config --local core.hooksPath .githooks# run quick checks
just test smoke # or just test
# run with coverage
just test coverPlease feel free to submit issues, fork the repository and send pull requests!
This project is licensed under the terms of the MIT license.