package
Version:
v0.0.0-...-2c24670
Opens a new window with list of versions in this module.
Published: Feb 23, 2022
License: Apache-2.0
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package env contains helper functions for setting and getting environment variables
Check checks the local environment to see that all of the environment variables specified in config are set.
Load loading env vars from env file
Key is the key string of an environment variable.
Lookup is an alias for os.LookupEnv(string(key))
SetBool sets the boolean address pointed to by bp to key.Value()
SetInt sets the int address pointed to by ip to key.Value().
SetString sets the string address pointed to by sp to key.Value().
Value is an alias for os.GetEnv(string(key))
Source Files
¶
Click to show internal directories.
Click to hide internal directories.