Skip to content
This repository has been archived by the owner on Mar 16, 2019. It is now read-only.

Commit

Permalink
Make notFoundHandler a HandlerFunc
Browse files Browse the repository at this point in the history
  • Loading branch information
bahlo committed Jul 6, 2015
1 parent af9af6f commit e385dfd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion goat.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ func New() *Router {
r.index = make(map[string]string)
r.prefix = "/"
r.router = httprouter.New()
r.router.NotFound = r.notFoundHandler
r.router.NotFound = http.HandlerFunc(r.notFoundHandler)

return r
}
Expand Down

0 comments on commit e385dfd

Please # to comment.