Documentation
¶
Overview ¶
Package dotenv sets one variable in a .env file, leaving every other line as it was.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Set ¶
Set writes name=value into path. The last line assigning name is replaced, since the last assignment is the one every loader keeps; with none, the line is appended. A new file is created at 0600, and an existing file keeps its mode. A symbolic link is refused: the file receives a live password, and a planted link would send it elsewhere.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.