From 78f60492585e9f21942b155e870e019a401937ef Mon Sep 17 00:00:00 2001 From: Jongmin Kim Date: Thu, 17 Jan 2013 17:52:41 +0900 Subject: [PATCH] Update mux.go unnecessary comma --- mux.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mux.go b/mux.go index 62f00e8..27d7591 100644 --- a/mux.go +++ b/mux.go @@ -154,7 +154,7 @@ func (r *Router) Handle(path string, handler http.Handler) *Route { // HandleFunc registers a new route with a matcher for the URL path. // See Route.Path() and Route.HandlerFunc(). func (r *Router) HandleFunc(path string, f func(http.ResponseWriter, - *http.Request),) *Route { + *http.Request)) *Route { return r.NewRoute().Path(path).HandlerFunc(f) }