Documentation
¶
Overview ¶
Package env provides environment variable loading from .env files. It offers a pure Go implementation without external dependencies.
Key features:
- .env file parsing
- Non-override behavior (existing env vars take precedence)
- Comment and empty line support
- Quote handling for values
- Helper functions for retrieving values with defaults
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Get ¶
Get retrieves an environment variable value. It first checks the process environment, then falls back to the default value.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.