package
Version:
v0.26.1
Opens a new window with list of versions in this module.
Published: Jan 25, 2025
License: GPL-3.0
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
dotenv
Simple .env file interaction for Go.
Documentation
¶
File location of the .env file to work on.
FileForDirectory returns the File for the given directory.
Delete a value from the env.
func (f File) EnsureExists()
EnsureExists ensures that the File exists, creating an empty one if not.
Get a value from the env.
List all values from the env.
Missing a value in the env.
Path the path of the .env file.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.