Reorganize method routers for handlers and services (#405)

* Re-organize method routing for handlers

* Re-organize method routing for services

* changelog
This commit is contained in:
David Pedersen
2021-10-24 20:05:16 +00:00
committed by GitHub
parent 0ee7379d4f
commit 7692baf837
57 changed files with 743 additions and 742 deletions
+2 -2
View File
@@ -29,7 +29,7 @@ use std::{
/// ```rust,no_run
/// use axum::{
/// extract,
/// handler::post,
/// routing::post,
/// Router,
/// };
/// use serde::Deserialize;
@@ -58,7 +58,7 @@ use std::{
/// ```
/// use axum::{
/// extract::Path,
/// handler::get,
/// routing::get,
/// Router,
/// Json,
/// };