os

package
v0.0.0-...-7ac5a48 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 1, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Env

type Env struct{}

func New

func New() *Env

func (*Env) Environ

func (*Env) Environ() []string

Environ returns a copy of strings representing the environment, in the form "key=value".

func (*Env) Getenv

func (*Env) Getenv(key string) string

func (*Env) Getwd

func (*Env) Getwd() (string, error)

func (*Env) Setenv

func (*Env) Setenv(key, value string) error

func (*Env) Setstderr

func (*Env) Setstderr(io.Writer)

func (*Env) Setstdin

func (*Env) Setstdin(io.Reader)

func (*Env) Setstdout

func (*Env) Setstdout(io.Writer)

func (*Env) Setwd

func (*Env) Setwd(dir string) error

func (*Env) Stderr

func (*Env) Stderr() io.Writer

func (*Env) Stdin

func (*Env) Stdin() io.Reader

func (*Env) Stdout

func (*Env) Stdout() io.Writer

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL