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 18, 2018
1 parent c843bcf commit d0997c8
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 d0997c8

Please sign in to comment.