Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Parse ¶
Parse reads .env content into a key-value map. content is the raw file content; returns parsed key/value pairs or an error.
func Patch ¶
Patch updates .env content with the provided key/value pairs. content is the existing file content; updates supplies key/value pairs to merge. New keys are appended in sorted order and leave the result ending in a newline, so a later shell append cannot merge onto the last value; otherwise the input's final-newline state is kept.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.