Skip to content

A flexible Go module for sourcing configuration variables from multiple, prioritized locations.

License

Notifications You must be signed in to change notification settings

therenotomorrow/enw

Repository files navigation

enw

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! ❤️

Installation

go get github.com/therenotomorrow/enw@latest

Development

System Requirements

go version
# go version go1.24.0

just --version
# just 1.40.0

Download sources

PROJECT_ROOT=enw
git clone https://github.com/therenotomorrow/enw.git "$PROJECT_ROOT"
cd "$PROJECT_ROOT"

Setup dependencies

# 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

Testing

# run quick checks
just test smoke # or just test

# run with coverage
just test cover

Contributing

Please feel free to submit issues, fork the repository and send pull requests!

License

This project is licensed under the terms of the MIT license.

About

A flexible Go module for sourcing configuration variables from multiple, prioritized locations.

Topics

Resources

License

Stars

Watchers

Forks