mirror of
https://github.com/fafhrd91/actix-web
synced 2024-12-18 01:43:58 +01: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() {}
|