From c78d502ab4b8c6d40d33cdbc852145432a46a2c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=AE=88=E8=99=8E?= Date: Fri, 15 Feb 2019 17:45:45 +0800 Subject: [PATCH] add RelativePath to function rest --- context.go | 1 + 1 file changed, 1 insertion(+) diff --git a/context.go b/context.go index 1462c6e0..8daeb2d6 100644 --- a/context.go +++ b/context.go @@ -72,6 +72,7 @@ func (c *Context) reset() { c.handlers = nil c.index = -1 c.Keys = nil + c.RelativePath="" c.Errors = c.Errors[0:0] c.Accepted = nil }