Documentation ¶
Index ¶
- func GetAsBool(variableName string, defaultValue bool) (boolValue bool)
- func GetAsFloat(variableName string, defaultValue float64) (floatValue float64)
- func GetAsInt(variableName string, defaultValue int) (intValue int)
- func GetAsString(variableName string, defaultValue string) string
- func MustGetAsString(variableName string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAsFloat ¶
GetAsFloat returns value for given environment variable, with default if not found
func GetAsString ¶
GetAsString returns value for given environment variable, with default if not found
func MustGetAsString ¶
MustGetAsString returns value for given environment variable
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.