Discover Packages
github.com/txsvc/platform/v2
pkg
env
package
Version:
v2.0.3
Opens a new window with list of versions in this module.
Published: May 2, 2021
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
¶
Assert 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.