mirror of
https://github.com/actix/actix-web.git
synced 2024-11-25 19:11:10 +00:00
9 lines
118 B
Rust
9 lines
118 B
Rust
|
use actix_web_codegen::scope;
|
||
|
|
||
|
#[scope("/api")]
|
||
|
async fn index() -> &'static str {
|
||
|
"Hello World!"
|
||
|
}
|
||
|
|
||
|
fn main() {}
|