mirror of
https://github.com/fafhrd91/actix-web
synced 2024-11-30 18:44:35 +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() {}
|