package
Version:
v0.0.6
Opens a new window with list of versions in this module.
Published: May 2, 2026
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package env reads environment variables with fallback defaults.
A variable that is unset, empty, or fails to parse yields the fallback.
Bool parses key as a bool, returning fallback on empty or parse error.
Int parses key as an int, returning fallback on empty or parse error.
Int64 parses key as an int64, returning fallback on empty or parse error.
String returns the value of key, or fallback if unset or empty.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.