Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EnvOrDefault ¶
EnvOrDefault returns the value of the environment variable key, or def if unset or empty.
func EnvOrDefaultBool ¶
EnvOrDefaultBool returns the boolean value of the environment variable key, or def if unset, empty, or not parseable. Accepts "1", "t", "T", "TRUE", "true", "True" as true and "0", "f", "F", "FALSE", "false", "False" as false.
func EnvOrDefaultInt ¶
EnvOrDefaultInt returns the integer value of the environment variable key, or def if unset, empty, or not a valid integer.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.