added get uuid function on utils

This commit is contained in:
Valmo Trindade
2024-09-11 19:13:42 -03:00
parent d7e2bbd122
commit 3c14e03585

23
src/util.rs Normal file
View File

@@ -0,0 +1,23 @@
pub fn get_uuid() -> String {
use uuid::Uuid;
Uuid::new_v4().to_string()
}
pub(crate) mod data_parsing {
}
mod request {
pub fn post(data: String) -> &'static str {
return "not implemented yet";
}
pub fn get(data: String) -> &'static str {
return "not implemented yet";
}
pub fn delete(data: String) -> &'static str {
return "not implemented yet";
}
}