Fix Middleware comment
This commit is contained in:
parent
2c930bacf1
commit
4c83818ecd
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ type Handle = func(*Context) error
|
|||
// ErrorHandle handles a request
|
||||
type ErrorHandle func(*Context, interface{})
|
||||
|
||||
// Middleware TODO:
|
||||
// Middleware is a function that runs before your route, it gets the next handler as a parameter
|
||||
type Middleware func(Handle) Handle
|
||||
|
||||
// Binder reads input to dst, returns true is successful
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue