An open API service indexing awesome lists of open source software.

https://github.com/navaz-alani/dotenv

This package implements dotenv for Golang projects, allowing loading and chaining of environment variable files.
https://github.com/navaz-alani/dotenv

dotenv dotenv-loader

Last synced: 5 months ago
JSON representation

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

Awesome Lists containing this project

README

          

# Go Dotenv

![Go Unit Tests](https://github.com/navaz-alani/dotenv/workflows/Go%20Unit%20Tests/badge.svg)
[![GoDoc](https://godoc.org/github.com/navaz-alani/dotenv?status.svg)](https://godoc.org/github.com/navaz-alani/dotenv)
[![CodeFactor](https://www.codefactor.io/repository/github/navaz-alani/dotenv/badge)](https://www.codefactor.io/repository/github/navaz-alani/dotenv)

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.