mirror of
https://github.com/gin-gonic/gin.git
synced 2025-10-14 20:22:20 +08:00
Merge branch 'master' of https://github.com/zjj/gin into zjj-master
This commit is contained in:
commit
7e8e21b21c
@ -186,10 +186,9 @@ func (c *Context) FullPath() string {
|
||||
func (c *Context) Next() {
|
||||
c.index++
|
||||
for c.index < int8(len(c.handlers)) {
|
||||
if c.handlers[c.index] == nil {
|
||||
continue
|
||||
}
|
||||
if c.handlers[c.index] != nil {
|
||||
c.handlers[c.index](c)
|
||||
}
|
||||
c.index++
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user