1 2 3 4 5 6 7 8 9 10 11
//! `{{ name }}`: HTTP handlers for the `{{ module }}` domain. use axum::extract::Path; pub async fn index() -> &'static str { "{{ name }}@index" } pub async fn show(Path(id): Path<u64>) -> String { format!("{{ name }}@show: {id}") }