[ Paquet source : golang-github-subosito-gotenv ]
Paquet : golang-github-subosito-gotenv-dev (1.3.0-1)
Liens pour golang-github-subosito-gotenv-dev
Ressources Debian :
- Rapports de bogues
- Developer Information
- Journal des modifications Debian
- Fichier de licence
- Suivis des correctifs pour Debian
Télécharger le paquet source golang-github-subosito-gotenv :
- [golang-github-subosito-gotenv_1.3.0-1.dsc]
- [golang-github-subosito-gotenv_1.3.0.orig.tar.gz]
- [golang-github-subosito-gotenv_1.3.0-1.debian.tar.xz]
Responsables :
Ressources externes :
- Page d'accueil [github.com]
Paquets similaires :
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.
Télécharger golang-github-subosito-gotenv-dev
Architecture | Taille du paquet | Espace occupé une fois installé | Fichiers |
---|---|---|---|
all | 9,1 ko | 44,0 ko | [liste des fichiers] |