всички настройки
bullseye  ] [  bookworm  ] [  trixie  ] [  sid  ]
[ Източник: golang-github-subosito-gotenv  ]

Пакет: golang-github-subosito-gotenv-dev (1.3.0-1)

Връзки за golang-github-subosito-gotenv-dev

Screenshot

Ресурси за Debian:

Изтегляне на пакет-източник golang-github-subosito-gotenv.

Отговорници:

Външни препратки:

Подобни пакети:

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.

Изтегляне на golang-github-subosito-gotenv-dev

Изтегляне за всички налични архитектури
Архитектура Големина на пакета Големина след инсталиране Файлове
all 9,1 кБ44,0 кБ [списък на файловете]