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