This commit is contained in:
Chaoscaot
2023-03-09 21:07:29 +01:00
parent 31b5c29ca2
commit 8455ed8ecd

View File

@ -35,6 +35,8 @@ pub(crate) fn load_mysql_properties() -> SqlProperties {
properties.insert(split[0].to_string(), split[1].to_string()); properties.insert(split[0].to_string(), split[1].to_string());
} }
println!("{:?}", properties);
SqlProperties { SqlProperties {
host: properties.get("host").unwrap().to_string(), host: properties.get("host").unwrap().to_string(),
user: properties.get("user").unwrap().to_string(), user: properties.get("user").unwrap().to_string(),