1
0
mirror of https://github.com/actix/actix-website synced 2025-02-10 15:24:15 +01:00

15 lines
299 B
Rust
Raw Normal View History

2019-06-17 02:08:42 -04:00
use actix_web::{web, App, HttpRequest, HttpResponse};
2018-05-24 10:13:55 -07:00
2019-06-13 03:24:25 -04:00
// <scope>
fn show_users(_req: HttpRequest) -> HttpResponse {
2018-05-24 10:13:55 -07:00
unimplemented!()
}
2019-06-13 03:24:25 -04:00
#[rustfmt::skip]
2018-05-24 10:13:55 -07:00
fn main() {
2019-06-17 02:08:42 -04:00
App::new()
.service(web::scope("/users")
.route("/show", web::get().to(show_users)));
2018-05-24 10:13:55 -07:00
}
2019-06-13 03:24:25 -04:00
// </scope>