Skip to content

Commit

Permalink
Update ch5-03-middleware.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Jancd committed Dec 17, 2018
1 parent 33fc0bf commit c843bcf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ch5-web/ch5-03-middleware.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ type Handler interface {

type HandlerFunc func(ResponseWriter, *Request)

func (f HandlerFunc) ServeHTTP(w ResponseWriter, r *Request)
func (f HandlerFunc) ServeHTTP(w ResponseWriter, r *Request){
f(w, r)
}

Expand Down

0 comments on commit c843bcf

Please sign in to comment.