Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
codegangsta committed Nov 9, 2013
1 parent c9f89fa commit bddc8d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ m.Use(func(res http.ResponseWriter, req *http.Request) {
~~~

### Next()
`Next()` is an optinal function that Middleware Handlers can call to yield the until after the other handlers have been executed. This works really well for any operations that must happen after an http request:
[Context.Next()](http://godoc.org/github.com/codegangsta/martini#Context) is an optional function that Middleware Handlers can call to yield the until after the other Handlers have been executed. This works really well for any operations that must happen after an http request:
~~~ go
// log before and after a request
m.Use(func(c martini.Context, log *log.Logger){
Expand Down

0 comments on commit bddc8d2

Please sign in to comment.