Discover Packages
github.com/danieljustus/symaira-corekit
envutil
package
Version:
v0.4.4
Opens a new window with list of versions in this module.
Published: Jul 8, 2026
License: Apache-2.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package envutil provides environment variable helpers with fallback support.
Getenv returns the value of the primary environment variable. If the primary
is empty or unset, it tries each legacy alias in order and returns the first
non-empty value found. Returns "" if none are set.
Unsetenv removes the named environment variable from the environment.
It is a thin wrapper around os.Unsetenv that returns any error.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.