1
0
mirror of https://github.com/labstack/echo.git synced 2025-06-15 00:14:57 +02:00

Set maxParam with SetParamNames (#1535)

* Set maxParam with SetParamNames

Fixes #1492

* Revert go.mod
This commit is contained in:
178inaba
2020-03-31 04:28:07 +09:00
committed by GitHub
parent 542835808e
commit 269dfcc9dd
4 changed files with 4 additions and 11 deletions

View File

@ -60,8 +60,6 @@ func TestJWTRace(t *testing.T) {
func TestJWT(t *testing.T) {
e := echo.New()
r := e.Router()
r.Add("GET", "/:jwt", func(echo.Context) error { return nil })
handler := func(c echo.Context) error {
return c.String(http.StatusOK, "test")
}