1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-24 05:17:03 +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

@@ -33,7 +33,7 @@ func WildcardParam(name string) string {
return prefix(name, WildcardParamStart)
}
func convertTmplToNodePath(tmpl *macro.Template) string {
func convertMacroTmplToNodePath(tmpl *macro.Template) string {
routePath := tmpl.Src
if len(tmpl.Params) > 0 {
if routePath[len(routePath)-1] == '/' {