github.com/joho/Godotenv (go): 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/joho/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")
Keywords: dotenv|environment-variables|go|golang