Separated the code

This commit is contained in:
phoenix
2025-03-31 19:16:15 -04:00
parent dda88ce0a0
commit 9b77a8dd78
7 changed files with 57 additions and 26 deletions
+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")
}