Documentation ¶ Index ¶ func Getenv(key, def string) string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Getenv ¶ func Getenv(key, def string) string Getenv retrieves the value of the environment variable named by the key. It returns the value, which will default to the provided default (`def`) if not the variable is not found. Types ¶ This section is empty. Source Files ¶ View all Source files env.go Click to show internal directories. Click to hide internal directories.