Skip to content

Commit 18fa83b

Browse files
committed
Don't use e.Router() in loadEchoSingle
1 parent cac621d commit 18fa83b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

routers.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ func loadEchoSingle(method, path string, h interface{}) http.Handler {
382382
default:
383383
panic("Unknow HTTP method: " + method)
384384
}
385-
return e.Router()
385+
return e
386386
}
387387

388388
// Gin

0 commit comments

Comments
 (0)