Documentation ¶ Index ¶ func GetEnv(key, defaultValue string) string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func GetEnv ¶ func GetEnv(key, defaultValue string) string GetEnv retrieves the value of the environment variable named by the key. If the variable is present in the environment, its value is returned. Otherwise, the provided defaultValue is returned. Types ¶ This section is empty. Source Files ¶ View all Source files env.go Click to show internal directories. Click to hide internal directories.