use elif_http_derive::{get, controller};
pub struct ElifRequest;
pub struct ElifResponse;
pub type HttpResult<T> = Result<T, Box<dyn std::error::Error>>;
#[controller("/api/test")]
pub struct TestController;
impl TestController {
#[get("/example")]
pub async fn example(&self, _unused_param: String, _: bool) -> String {
format!("Example")
}
#[get("/another")]
pub async fn another(&self, _debug_info: Option<String>) -> String {
format!("Another")
}
}
fn main() {
println!("Underscore pattern test compilation successful");
}