mirror of
https://github.com/actix/actix-web.git
synced 2024-12-01 05:51:17 +00:00
15 lines
167 B
Rust
15 lines
167 B
Rust
|
use actix_web_codegen::scope;
|
||
|
|
||
|
const PATH: &str = "/api";
|
||
|
|
||
|
#[scope(PATH)]
|
||
|
mod api_const {}
|
||
|
|
||
|
#[scope(true)]
|
||
|
mod api_bool {}
|
||
|
|
||
|
#[scope(123)]
|
||
|
mod api_num {}
|
||
|
|
||
|
fn main() {}
|