env

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Getenv

func Getenv(key string) string

Getenv is similar to os.Getenv, but *always* requests the variable from C's getenv Note: If you rely on this value being consistent, you must use this package's other env functions as well

func Setenv

func Setenv(key, value string) error

Setenv is similar to os.Setenv, but ensures consistent results for env.Getenv Note: If you rely on this value being consistent, you must use this package's other env functions as well

func Unsetenv

func Unsetenv(key string) error

Unsetenv is similar to os.Unsetenv, but ensures consistent results for env.Getenv Note: If you rely on this value being consistent, you must use this package's other env functions as well.

Types

This section is empty.

Jump to

Keyboard shortcuts

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