pub fn load_dotenv(file_name: &Path) -> Result<EnvroVars, EnvroError>Expand description
load .env file into process.env var
ยงExamples
use std::env;
use envro::*;
let env_file = env::current_dir().unwrap().join(".env-sample");
let env_vars = load_dotenv(&env_file).unwrap();