[][src]Function kankyo::load

pub fn load(overwrite: bool) -> IoResult<()>

Loads a .env file at the current working directory (./.env).

Examples

try!(kankyo::load(false));

println!("Loaded!");

Errors

Returns an std::io::Error if there was an error reading the file.