Documentation ¶ Index ¶ func Get(key, defaultValue string) string func IsSet(key string) bool func List(prefix string) (envs []string) func SetEnvOff() func SetEnvOn() Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Get ¶ func Get(key, defaultValue string) string Get retrieves the value of the environment variable named by the key. If the variable is present in the environment the value (which may be empty) is returned. Otherwise it returns the specified default value. func IsSet ¶ func IsSet(key string) bool IsSet returns if the given env key is set. func List ¶ func List(prefix string) (envs []string) List all envs with a given prefix. func SetEnvOff ¶ func SetEnvOff() SetEnvOff - turns off env lookup func SetEnvOn ¶ func SetEnvOn() SetEnvOn - turns on env lookup Types ¶ This section is empty. Source Files ¶ View all Source files env.go Click to show internal directories. Click to hide internal directories.