1
0
mirror of https://github.com/labstack/echo.git synced 2025-07-05 00:58:47 +02:00

Dropped support for func(http.Handler) http.Handler middleware

Signed-off-by: Vishal Rana <vr@labstack.com>
This commit is contained in:
Vishal Rana
2015-04-19 16:00:23 -07:00
parent 54824fc22f
commit 3eeea660fa
10 changed files with 52 additions and 156 deletions

View File

@ -5,7 +5,6 @@ import (
"strconv"
"github.com/labstack/echo"
mw "github.com/labstack/echo/middleware"
)
type (
@ -61,7 +60,7 @@ func main() {
e := echo.New()
// Middleware
e.Use(mw.Logger)
e.Use(echo.Logger)
// Routes
e.Post("/users", createUser)