[ Zdroj: golang-github-subosito-gotenv ]
Balík: golang-github-subosito-gotenv-dev (1.2.0+git20190917.de67a66-2)
Odkazy pre golang-github-subosito-gotenv-dev
Zdroje Debian:
Stiahnuť zdrojový balík golang-github-subosito-gotenv:
- [golang-github-subosito-gotenv_1.2.0+git20190917.de67a66-2.dsc]
- [golang-github-subosito-gotenv_1.2.0+git20190917.de67a66.orig.tar.xz]
- [golang-github-subosito-gotenv_1.2.0+git20190917.de67a66-2.debian.tar.xz]
Správcovia:
Externé zdroje:
- Domovská stránka [github.com]
Podobné balíky:
Load environment variables from `.env` or `io.Reader` in Go.
To modify your app environment variables, gotenv expose 2 main functions:
* gotenv.Load * gotenv.ApplyBy 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.
Ostatné balíky súvisiace s balíkom golang-github-subosito-gotenv-dev
|
|
|
|
-
- dep: golang-github-stretchr-testify-dev
- sacred extension to the standard Go testing package
Stiahnuť golang-github-subosito-gotenv-dev
Architektúra | Veľkosť balíka | Nainštalovaná veľkosť | Súbory |
---|---|---|---|
all | 7.9 kB | 39.0 kB | [zoznam súborov] |