Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetBoolVal ¶
GetBoolVal retrieves a boolean value from given environment envVar. Returns default value if envVar is not set.
func GetStringVal ¶
GetStringVal retrieves a string value from given environment envVar Returns default value if envVar is not set.
func ParseNumFromEnv ¶
Helper function to parse a number from an environment variable. Returns a default if env is not set, is not parseable to a number, exceeds max (if max is greater than 0) or is less than min.
nolint:unparam
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.