package
Version:
v0.0.0-...-43d7ba3
Opens a new window with list of versions in this module.
Published: Jan 26, 2021
License: GPL-3.0
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package env implements functions to get values from environment variables.
GetInt gets the value of an environment variable as an int.
If the key wasn't found, the default value will be returned, and exists
will be false.
If the conversion from string to int fails, the default value will be returned,
along with an error.
GetString gets the value of an environment variable as a string.
If the key wasn't found, the default value will be returned, and found
will be false.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.