Documentation ¶ Overview ¶ Package xos provides useful os helpers. Index ¶ type Env func NewEnv(environ []string) *Env func (e *Env) Bool(name string) (*bool, error) func (e *Env) CI() bool func (e *Env) Debug() bool func (e *Env) Environ() []string func (e *Env) Getenv(name string) string func (e *Env) HumanPath(fp string) string func (e *Env) Setenv(name, value string) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Env ¶ type Env struct { // contains filtered or unexported fields } func NewEnv ¶ func NewEnv(environ []string) *Env func (*Env) Bool ¶ func (e *Env) Bool(name string) (*bool, error) func (*Env) CI ¶ func (e *Env) CI() bool func (*Env) Debug ¶ func (e *Env) Debug() bool func (*Env) Environ ¶ func (e *Env) Environ() []string func (*Env) Getenv ¶ func (e *Env) Getenv(name string) string func (*Env) HumanPath ¶ func (e *Env) HumanPath(fp string) string func (*Env) Setenv ¶ func (e *Env) Setenv(name, value string) Source Files ¶ View all Source files env.goxos.go Click to show internal directories. Click to hide internal directories.