mirror of
https://github.com/fafhrd91/actix-web
synced 2024-11-27 17:52:56 +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() {}
|