Macro route

Source
route!() { /* proc-macro */ }
Expand description

Creates a route and add it to the group

ยงExample

route!(
    group = Routes,
    path = "/echo/{str:String}",
    method = GET,
    async test_fn -> String { str }
);