The highest tagged major version is
v2 .
Discover Packages
github.com/txsvc/stdlib
pkg
env
package
Version:
v1.5.0
Opens a new window with list of versions in this module.
Published: Feb 5, 2022
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Documentation
Documentation
¶
Exists verifies that the environment variable 'env' is defined and returns a non-empty value.
GetInt returns the environment variable ENV['env'] or def if 'env' is not set.
GetString returns the environment variable ENV['env'] or def if 'env' is not set.
Note: def is only returned if the 'env' is not set, i.e. an EMPTY 'env' is still returned !
Source Files
¶
Click to show internal directories.
Click to hide internal directories.