pub fn dotenv() -> Result<PathBuf>
Expand description

Loads the .env file from the current directory or parents. This is typically what you want.

An error will be returned if the file is not found.

Examples

dotenvy::dotenv().unwrap();