Documentation ¶
Overview ¶
Package for processing environment variables.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultEnvVariables = map[string]string{
"PATH": "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
"TERM": "xterm",
}
DefaultEnvVariables sets $PATH and $TERM.
Functions ¶
func ParseFile ¶
ParseFile parses the specified path for environment variables and returns them as a map.
func ParseSlice ¶
ParseSlice parses the specified slice and transforms it into an environment map.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.