Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExpandEnvSafe ¶
ExpandEnvSafe replaces ${var} or $var in the string according to the values of the current environment variables. As opposed to os.ExpandEnv, ExpandEnvSafe won't remove the dollar in '$(...)' See https://golang.org/src/os/env.go?s=963:994#L22 for the original function
func ExpandField ¶
ExpandField expands environment variables in field
func ExpandSliceField ¶
ExpandSliceField expands environment variables in every entries of a slice field
func ExpandUser ¶
ExpandUser expands tild and env vars in unix paths
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.