minor misspell fix

Former-commit-id: 55408a6c25d55cd052bb613db201723eac977232
This commit is contained in:
Gerasimos (Makis) Maropoulos 2019-01-19 23:34:41 +02:00
parent 3fcc70b891
commit 3dc3fa10ee
2 changed files with 2 additions and 2 deletions

View File

@ -45,7 +45,7 @@ type Filter func(Context) bool
// as a middleware. // as a middleware.
// Filter is just a type of Handler which returns a boolean. // Filter is just a type of Handler which returns a boolean.
// Handlers here should act like middleware, they should contain `ctx.Next` to proceed // Handlers here should act like middleware, they should contain `ctx.Next` to proceed
// to the next handler of the chain. Those "handlers" are registed to the per-request context. // to the next handler of the chain. Those "handlers" are registered to the per-request context.
// //
// //
// It checks the "filter" and if passed then // It checks the "filter" and if passed then

View File

@ -345,7 +345,7 @@ var (
// as a middleware. // as a middleware.
// Filter is just a type of Handler which returns a boolean. // Filter is just a type of Handler which returns a boolean.
// Handlers here should act like middleware, they should contain `ctx.Next` to proceed // Handlers here should act like middleware, they should contain `ctx.Next` to proceed
// to the next handler of the chain. Those "handlers" are registed to the per-request context. // to the next handler of the chain. Those "handlers" are registered to the per-request context.
// //
// //
// It checks the "filter" and if passed then // It checks the "filter" and if passed then