Versions in this module Expand all Collapse all v0 v0.2.0 Feb 22, 2022 v0.1.2 Nov 27, 2019 Changes in this version + var ErrDeclError = errors.New("env declaration error") + type Env struct + Vars map[string]string + func New() *Env + func (env *Env) Child(out, err io.Writer, cmd string, args ...string) error + func (env *Env) Environ() []string + func (env *Env) Exec(cmd string, args ...string) error + func (env *Env) Expand(s string) string + func (env *Env) Get(key string) (string, bool) + func (env *Env) GetOrDefault(key, deflt string) string + func (env *Env) Load(envs []string) error + func (env *Env) LoadMap(envs map[string]string) + func (env *Env) Read(fn string) error + func (env *Env) Run(cmd string, args ...string) error + func (env *Env) Set(key, val string)