Documentation ¶
Overview ¶
Package environment provides utility functions for interacting with the OS environment (e.g environment variables).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetFirstNonEmptyEnvVarOrEmptyString ¶
GetFirstNonEmptyEnvVarOrEmptyString returns the first non-empty environment variable from envVarNames, or returns the empty string
func GetFirstNonEmptyEnvVarOrFatal ¶
GetFirstNonEmptyEnvVarOrFatal returns the first non-empty environment variable from envVarNames, or throws a fatal
func RequireEnvVar ¶
RequireEnvVar fails the test if the specified environment variable is not defined or is blank.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.