env

package
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 25, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Getenv

func Getenv(key string) string

Getenv returns the value of an environment variable. This is the centralized access point for all env var reads in internal/ packages. Packages that cannot import internal/config due to import cycles use this package instead. The config package also delegates to this function.

Using this function instead of os.Getenv makes env access grep-able and allows future migration to a more sophisticated env management layer.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL