From 4399e41cd2a38c13d55060c368bc955da888f7eb Mon Sep 17 00:00:00 2001 From: mitchelljfs Date: Fri, 3 Aug 2018 11:07:37 -0700 Subject: [PATCH] Added context to NewAPIGRouter --- router.go | 1 + 1 file changed, 1 insertion(+) diff --git a/router.go b/router.go index 03a72e3..b6b0a25 100644 --- a/router.go +++ b/router.go @@ -74,6 +74,7 @@ func NewAPIGRouter(cfg *APIGRouterConfig) *APIGRouter { params: map[string]string{}, prefix: cfg.Prefix, headers: cfg.Headers, + context: cfg.Context, } }