Documentation
¶
Overview ¶
Package envz provides various utilities for working with environment variables.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MarshalEnviron ¶
MarshalEnviron converts an env map to OS-like environ.
func MustSetenv ¶
func MustSetenv(key, value string)
MustSetenv is like os.Setenv, but panics on error.
func MustUnsetenv ¶
func MustUnsetenv(key string)
MustUnsetenv is like os.Unsetenv, but panics on error.
func MustWithEnv ¶ added in v0.13.0
MustWithEnv runs the closure after setting the given env, cleans up after.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.