Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDefault ¶
GetDefault retrieves the value of the environment variable named by the key. If the value is empty, then it returns defaultValue, otherwise it returns the value of the variable.
func GetDefaultSet ¶
GetenvDefaultSet retrieves the value of the environment variable named by key. If the value is empty, then it attempts to set key to defaultValue, and returns defaultValue. If key was already set it just returns the that value, and doesn't set it.. It returns an error if it was not able to set it.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.