Browse Source

Update mux.go

unnecessary comma
pull/9/head
Jongmin Kim 13 years ago
parent
commit
78f6049258
  1. 2
      mux.go

2
mux.go

@ -154,7 +154,7 @@ func (r *Router) Handle(path string, handler http.Handler) *Route { @@ -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)
}

Loading…
Cancel
Save