From 8b725362cab08902e4500af0cd58c5dcdf2862b8 Mon Sep 17 00:00:00 2001 From: Raphael Gavache Date: Fri, 14 Jul 2017 14:39:49 -0400 Subject: [PATCH] Update context.go --- context.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/context.go b/context.go index 198dd3e3..e527f23b 100644 --- a/context.go +++ b/context.go @@ -82,6 +82,10 @@ func (c *Context) Copy() *Context { cp.Writer = &cp.writermem cp.index = abortIndex cp.handlers = nil + cp.Keys = map[string]interface{}{} + for k, v := range c.Keys { + cp.Keys[k] = v + } return &cp }