additional clarification

This commit is contained in:
Brian Wigginton 2015-10-27 12:26:05 -05:00
parent 1541a141ee
commit 353fa14750

View File

@ -101,7 +101,7 @@ func (c *Context) IsAborted() bool {
return c.index >= abortIndex
}
// Abort prevents pending handlers from being called. Note that this will not stop the current execution context.
// Abort prevents pending handlers from being called. Note that this will not stop the current handler.
// Let's say you have an authorization middleware that validates that the current request is authorized. If the
// authorization fails (ex: the password does not match), call Abort to ensure the remaining handlers
// for this request are not called.