Separated the code

This commit is contained in:
phoenix committed 2025-03-31 19:16:15 -04:00
1 parent dda88ce0a0
commit 9b77a8dd78
7 files changed
+57 -26

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
pub fn get_full() -> String {
get_address() + ":" + &get_port()
}
fn get_address() -> String {
String::from("0.0.0.0")
}
fn get_port() -> String {
String::from("3000")
}