Files
hotel_api/src/routes/rooms.rs

16 lines
230 B
Rust

use axum::{
routing::{get, //post
},
Router,
};
pub fn rooms_routes() -> Router {
Router::new()
.route("/", get(hi_rooms) )
}
async fn hi_rooms() -> &'static str {
"Hiii from room.rs route module"
}