How to Install and Uninstall golang-github-subosito-gotenv-dev Package on Ubuntu 20.10 (Groovy Gorilla)

Last updated: May 11,2024

1. Install "golang-github-subosito-gotenv-dev" package

Please follow the guidelines below to install golang-github-subosito-gotenv-dev on Ubuntu 20.10 (Groovy Gorilla)

$ sudo apt update $ sudo apt install golang-github-subosito-gotenv-dev

2. Uninstall "golang-github-subosito-gotenv-dev" package

Here is a brief guide to show you how to uninstall golang-github-subosito-gotenv-dev on Ubuntu 20.10 (Groovy Gorilla):

$ sudo apt remove golang-github-subosito-gotenv-dev $ sudo apt autoclean && sudo apt autoremove

3. Information about the golang-github-subosito-gotenv-dev package on Ubuntu 20.10 (Groovy Gorilla)

Package: golang-github-subosito-gotenv-dev
Architecture: all
Version: 1.2.0+git20190917.de67a66-2
Priority: optional
Section: universe/devel
Source: golang-github-subosito-gotenv
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Go Packaging Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 38
Depends: golang-github-stretchr-testify-dev
Filename: pool/universe/g/golang-github-subosito-gotenv/golang-github-subosito-gotenv-dev_1.2.0+git20190917.de67a66-2_all.deb
Size: 7452
MD5sum: e8fc15a58fde9d22d02c6510c8de3973
SHA1: f2a986190fdba826fa082fc4976b2ced9929acdb
SHA256: 6b466a0cd4fe04bdcb3053cb4eec0e756e4d4e34f181cc93bef2597aad01bfe1
SHA512: d4ce0d2e83ac533ca41ebe2501dac8b409a4f47672c8ecdd23e0f07217a85c16bb8a091c567b44ebe4f26066a0ceb6f3e4b7d6c77bb97a845f23e71b992983f3
Homepage: https://github.com/subosito/gotenv
Description-en: 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.
Description-md5: 25a8f96a5ce152c03bd9d223947a3415