pub fn try_init() -> Result<Dotenv>
Expand description

Create a Dotenv instance from the .env file.

Examples

for item in dotenv::try_init().unwrap() {
  let (key, value) = item.unwrap();
  println!("{}={}", key, value);
}