proxy.golang.org : github.com/joho/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/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")
Registry
-
Source
- Documentation
- JSON
purl: pkg:golang/github.com/joho/%21go%21dotenv
Keywords:
dotenv
, environment-variables
, go
, golang
License: MIT
Latest release: over 2 years ago
First release: over 2 years ago
Namespace: github.com/joho
Stars: 7,177 on GitHub
Forks: 412 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 6 days ago