Package Usage: go: github.com/stateful/godotenv
Package godotenv is a go port of the ruby dotenv library (https://github.com/bkeepers/dotenv)
Examples/readme can be found on the GitHub page at https://github.com/stateful/godotenv
The TL;DR is that you make a .env file that looks something like
and then in your go code you can call
and all the env vars declared in .env will be available through os.Getenv("SOME_ENV_VAR")
0 versions
Latest release: about 1 year ago
View more package details: https://packages.ecosystem.code.gouv.fr/registries/proxy.golang.org/packages/github.com/stateful/godotenv