Documentation ¶
Overview ¶
Package for processing environment variables.
Index ¶
- func DefaultEnvVariables() map[string]string
- func Join(base map[string]string, override map[string]string) map[string]string
- func Map(slice []string) map[string]string
- func ParseFile(path string) (_ map[string]string, err error)
- func ParseSlice(s []string) (map[string]string, error)
- func Slice(m map[string]string) []string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultEnvVariables ¶
DefaultEnvVariables returns a default environment, with $PATH and $TERM set.
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.