Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractValue ¶
ExtractValue returns the value of the environment variable with the given key. The given key should not have a trailing "=". If the same key occurs multiple times in the environment, then any later occurrences will override previous ones.
func GetBool ¶
GetBool fetches and parses a boolean typed environment variable
If the variable is empty, returns `fallback` and no error. If there is an error, returns `fallback` and the error.
func GetDuration ¶
GetDuration fetches and parses a duration typed environment variable
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.