Documentation
¶
Overview ¶
Package envfile provides helpers for reading and updating .env files while preserving comments, blank lines, and line order.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplyUpdates ¶
ApplyUpdates rewrites the .env at path, replacing values for any key in updates. Keys not already present are appended at the end. Comments and blank lines are preserved.
func UpdateAppURL ¶
UpdateAppURL sets APP_URL in the project's .env to scheme://domain. Silently does nothing if no .env exists.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.