go: github.com/shurcooL/go/osutil Index | Files

package osutil

import "github.com/shurcooL/go/osutil"

Package osutil offers a utility for manipulating a set of environment variables.


Package Files


type Environ Uses

type Environ []string

Environ is a slice of strings representing the environment, in the form "key=value".

func (*Environ) Set Uses

func (e *Environ) Set(key, value string)

Set environment variable key to value.

func (*Environ) Unset Uses

func (e *Environ) Unset(key string)

Unset environment variable key.

Package osutil imports 1 packages (graph) and is imported by 2 packages. Updated 2016-07-14. Refresh now. Tools for package owners.