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:
@@ -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] == '/' {
|
||||
|
||||
Reference in New Issue
Block a user