FileSize | 8124 |
MD5 | A38F830FCB272D3CAC45D8BA9641AA89 |
PackageDescription | Load environment variables from `.env` or `io.Reader` in Go.
To modify your app environment variables, gotenv expose 2 main functions:
* gotenv.Load
* gotenv.Apply
By default, gotenv.Load will look for a file called .env in the current
working directory.
.
Behind the scene, it will then load .env file and export the valid
variables to the environment variables. Make sure you call the method
as soon as possible to ensure it loads all variables, say, put it on
init() function.
.
Once loaded you can use os.Getenv() to get the value of the variable. |
PackageMaintainer | Debian Go Packaging Team <team+pkg-go@tracker.debian.org> |
PackageName | golang-github-subosito-gotenv-dev |
PackageSection | devel |
PackageVersion | 1.2.0+git20190917.de67a66-2~bpo10+1 |
SHA-1 | 8515519C279BE5CC385C354D902E59113CFB601B |
SHA-256 | 10E06C33003D962831C80CEB0545E08B8AE6AFF1F1C3F4C97C16648C2C2A2CA6 |