Fix Middleware comment

This commit is contained in:
Nise Void 2018-11-18 16:20:13 +01:00
parent 2c930bacf1
commit 4c83818ecd
Signed by untrusted user: NiseVoid
GPG Key ID: FBA14AC83EA602F3
1 changed files with 1 additions and 1 deletions

View File

@ -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