Documentation ¶
Overview ¶
Package xos provides extensions for Go's standard os package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetBoolEnv ¶
GetBoolEnv returns the boolean value of the environment variable named by the key.
If the variable is present in the environment the value (which may be empty) or if the variable is unset, a fallback value is returned.
func GetDurationEnv ¶
GetDurationEnv returns the time.Duration value of the environment variable named by the key.
If the variable is present in the environment the value (which may be empty) or if the variable is unset, a fallback value is returned.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.