Documentation
¶
Overview ¶
Package system contains utilities for interacting with the host environment such as reading environment variables.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExpandEnvVar ¶
ExpandEnvVar expands an environment variable reference and returns its value trimmed of surrounding spaces. An error is returned if the referenced variable is not set.
func GetEnvOrFail ¶
GetEnvOrFail retrieves the value of the environment variable with the given name. If the variable is not set, the process exits via log.Fatalf.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.