/dotenv

This package implements dotenv for Golang projects, allowing loading and chaining of environment variable files.

Primary LanguageGoMIT LicenseMIT

Go Dotenv

Go Unit Tests GoDoc CodeFactor

This package provides dotenv functionality (similar to that in NodeJS) for Golang projects.

It has been decoupled from the operating system in order to easily provide more flexibility and additional features which can be used to gain greater control of the application's runtime parameters. This includes asserting that a set of required parameters have been initialized and chaining together environment variable source files using a special __GO_LOAD key and more.

Please find the API documentation by clicking on the godoc tag above.