Documentation
¶
Overview ¶
Package env provides environment variable expansion functionality.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Expand ¶
Expand provides shell expansion similar to ExpandWithMap without the map extension. It is os.Env only.
func ExpandWithMap ¶
ExpandWithMap provides OS expansion of defined ENV VARs inside args to commands. The expansion is limited to what is defined on the OS and the variables passed into to the env parameter. To escape a dollar sign, pass in two dollar signs.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.