Update mux.go

unnecessary comma
This commit is contained in:
Jongmin Kim
2013-01-17 17:52:41 +09:00
parent a8ad2b0f13
commit 78f6049258

2
mux.go
View File

@@ -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)
}