macro_rules! routes {
($( ($route:expr, $table:expr) ),*) => { ... };
}
Expand description
Example
let routes = routes!(
("/people", PeopleTableSchema),
("/jobs", JobsTableSchema)
);
macro_rules! routes {
($( ($route:expr, $table:expr) ),*) => { ... };
}
Example
let routes = routes!(
("/people", PeopleTableSchema),
("/jobs", JobsTableSchema)
);