fetch_configuration

Function configuration

Source
pub fn configuration(
    config_file_path: &str,
) -> Result<HashMap<String, String>, String>
Expand description

This function retrieve the value from the config file.

#Arguments

*‘config_file_path’ - A string literal which can store the path of config file.

#Return

Return the Hashmap of Config elements or the error given by the compiler.