This simple package contains a handy decode hook made to be used with https://github.com/go-viper/mapstructure, that translates the environment variable references in the given configuration into the actual values from the referenced environment variable.