mirror of
https://github.com/gin-gonic/gin.git
synced 2025-10-17 05:42:09 +08:00
Update tree.go
This commit is contained in:
parent
de587680ca
commit
85665a813a
2
tree.go
2
tree.go
@ -296,7 +296,7 @@ func (n *node) insertChild(path string, fullPath string, handlers HandlersChain)
|
||||
break
|
||||
}
|
||||
|
||||
// The wildcard name must only contain one ':' or '*' charactor
|
||||
// The wildcard name must only contain one ':' or '*' character
|
||||
if !valid {
|
||||
panic("only one wildcard per path segment is allowed, has: '" +
|
||||
wildcard + "' in path '" + fullPath + "'")
|
||||
|
Loading…
x
Reference in New Issue
Block a user