From 8cb07251b03147cbd281d325eb65e0d4dca82f98 Mon Sep 17 00:00:00 2001 From: Carl Jackson Date: Sun, 26 Oct 2014 16:30:44 -0700 Subject: [PATCH] Fix public API f2926972236e62bb85a77c9ed50514d23fd5b294 accidentally removed web.Mux.Compile from the public API. This restores it. --- web/mux.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/mux.go b/web/mux.go index 7fafa8e..ee0d8b4 100644 --- a/web/mux.go +++ b/web/mux.go @@ -220,6 +220,6 @@ func (m *Mux) NotFound(handler interface{}) { // after all the routes have been added, and will be called automatically for // you (at some performance cost on the first request) if you do not call it // explicitly. -func (rt *router) Compile() { - rt.compile() +func (m *Mux) Compile() { + m.rt.compile() }