Top 1.0% forks on proxy.golang.org
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/%21joho/godotenv
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: 5,957 on GitHub
Forks: 339 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 5 days ago