Skip to content

Commit d367f54

Browse files
committed
Fix Echo implementation
1 parent 240e3f3 commit d367f54

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
@@ -368,7 +368,7 @@ func loadEcho(routes []route) http.Handler {
368368

369369
func loadEchoSingle(method, path string, h interface{}) http.Handler {
370370
e := echo.New()
371-
e.MaxParam(20) // TODO: technically illegal!
371+
e.SetMaxParam(20) // TODO: technically illegal!
372372
switch method {
373373
case "GET":
374374
e.Get(path, h)

0 commit comments

Comments
 (0)