mirror of
https://github.com/fafhrd91/actix-web
synced 2024-11-24 00:21:08 +01: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() {}
|