mirror of
https://github.com/fafhrd91/actix-web
synced 2024-12-04 20:31:55 +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() {}
|