| 13 | #[derive(Template)] |
| 14 | #[template(path = "index.html")] |
| 15 | struct Index; |
| 16 | |
| 17 | async fn index(query: web::Query<HashMap<String, String>>) -> Result<impl Responder> { |
| 18 | let html = if let Some(name) = query.get("name") { |
nothing calls this directly
no outgoing calls
no test coverage detected