1
0
mirror of https://github.com/kataras/iris.git synced 2026-01-03 02:07:06 +00:00

add tests for the new types (int8, int16, int32, uint, uint8, uint16, uint32, uint64)

Former-commit-id: 812b3fdcc47abdeac271473bfdbdd15f0afd0bc0
This commit is contained in:
Gerasimos (Makis) Maropoulos
2018-09-29 04:35:09 +03:00
parent 6d9a35ddba
commit 7568da3283
5 changed files with 176 additions and 10 deletions

View File

@@ -47,7 +47,7 @@ func NewRoute(method, subdomain, unparsedPath, mainHandlerName string,
return nil, err
}
path := convertTmplToNodePath(tmpl)
path := convertMacroTmplToNodePath(tmpl)
// prepend the macro handler to the route, now,
// right before the register to the tree, so APIBuilder#UseGlobal will work as expected.
if macroEvaluatorHandler, ok := handler.MakeHandler(tmpl); ok {