fixconflict

This commit is contained in:
youngblood 2018-08-15 14:08:01 +08:00
parent 67f7943237
commit 31b6862acb

2
gin.go
View File

@ -354,7 +354,7 @@ func (engine *Engine) handleHTTPRequest(c *Context) {
}
root := t[i].root
// Find route in tree
handlers, params, relativePath, tsr := root.getValue(path, c.Params, unescape)
handlers, params, relativePath, tsr := root.getValue(path, c.Params, unescape)
c.RelativePath = relativePath
if handlers != nil {
c.handlers = handlers