Documentation

Overview

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

    Index

    Examples

    Constants

    This section is empty.

    Variables

    This section is empty.

    Functions

    This section is empty.

    Types

    type Environ

    type Environ []string

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

      Example
      Output:
      
      

      func (*Environ) Set

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

        Set environment variable key to value.

        func (*Environ) Unset

        func (e *Environ) Unset(key string)

          Unset environment variable key.

          Source Files