Documentation ¶
Index ¶
- func Clear()
- func Expand(s string) string
- func ExpandEnv(s string, env map[string]string) string
- func ExpandEnvVar(key, val string, env map[string]string) string
- func Get(k string) string
- func GetAll() map[string]string
- func Lookup(k string) (string, bool)
- func Restore(env map[string]string) error
- func RestoreOriginal(env map[string]string) error
- func Set(k, v string) error
- func Split(s string) (string, string)
- func Unset(k, v string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExpandEnvVar ¶
ExpandEnvVar variables and execute commands, or fallback to global env
func RestoreOriginal ¶
RestoreOriginal environment
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.