Skip to content

An optional environment variable based decoder for goschtalt.

License

Notifications You must be signed in to change notification settings

goschtalt/env-decoder

Repository files navigation

env-decoder

An optional environment variable based decoder for goschtalt.

Build Status codecov.io Go Report Card GitHub Release GoDoc

This decoder provides both an example of using the goschtalt.AddValueGetter() option as well as a simple way to read in structured environment variables.

While this approach might seem like a great path, a far better way to interact with environment variables is by creating a configuration file & using the built in substitution approach via ExpandEnv(). The reason for this is environment variables often have limitations on the key case that may make their usage hard on some systems, or across systems.

About

An optional environment variable based decoder for goschtalt.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages