Fix Middleware comment
This commit is contained in:
parent
2c930bacf1
commit
4c83818ecd
@ -20,7 +20,7 @@ type Handle = func(*Context) error
|
|||||||
// ErrorHandle handles a request
|
// ErrorHandle handles a request
|
||||||
type ErrorHandle func(*Context, interface{})
|
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
|
type Middleware func(Handle) Handle
|
||||||
|
|
||||||
// Binder reads input to dst, returns true is successful
|
// Binder reads input to dst, returns true is successful
|
||||||
|
Loading…
Reference in New Issue
Block a user