From 05d9d908e791c45f6deff3ea85fd6fd3a340a4c7 Mon Sep 17 00:00:00 2001 From: Jingwen Owen Ou Date: Mon, 2 May 2016 10:24:47 -0700 Subject: [PATCH] Add `SkipClean()` to `*Route` --- route.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/route.go b/route.go index ca54610..6c53f9f 100644 --- a/route.go +++ b/route.go @@ -39,6 +39,10 @@ type Route struct { buildVarsFunc BuildVarsFunc } +func (r *Route) SkipClean() bool { + return r.skipClean +} + // Match matches the route against the request. func (r *Route) Match(req *http.Request, match *RouteMatch) bool { if r.buildOnly || r.err != nil {