()
| 47 | } |
| 48 | |
| 49 | func (c *Context) Next() error { |
| 50 | c.Index++ |
| 51 | for c.Index < int8(len(c.Handlers)) { |
| 52 | err := c.Handlers[c.Index](c) |
| 53 | if err != nil { |
| 54 | return err |
| 55 | } |
| 56 | c.Index++ |
| 57 | } |
| 58 | return nil |
| 59 | } |
| 60 | |
| 61 | // IsAborted returns true if the current context was aborted. |
| 62 | func (c *Context) IsAborted() bool { |
no outgoing calls
no test coverage detected