Router organization #382
-
If I'd like to move a router definition out of the file it's used ( For example, if I created a function in another file to return it:
what should the function's return value be? |
Beta Was this translation helpful? Give feedback.
Answered by
davidpdrsn
Oct 13, 2021
Replies: 1 comment
-
https://docs.rs/axum/0.2.8/axum/struct.Router.html#method.boxed |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
davidpdrsn
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://docs.rs/axum/0.2.8/axum/struct.Router.html#method.boxed