The highest tagged major version is
v2.
package
Version:
v1.10.1
Opens a new window with list of versions in this module.
Published: Jul 31, 2018
License: Apache-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package env is used to parse environment.
Get returns a value by key.
If the key does not exist, the default value will be returned.
GetAll returns all keys/values in the current child process environment.
MustGet returns a value by key.
If the key does not exist, it will return an error.
MustSet sets a value in the ENV copy and the child process environment.
It returns an error in case the set operation failed.
Set sets a value in the ENV copy.
This does not affect the child process environment.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.