package
Version:
v0.0.0-...-0394936
Opens a new window with list of versions in this module.
Published: Jan 23, 2023
License: MIT
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func Get[T types](envName string, defaultValue ...T) T
Get gets variable from env, if not found return default value
If defaultValue is set and variable not found, then panics
Source Files
¶
Click to show internal directories.
Click to hide internal directories.