mirror of https://github.com/gin-gonic/gin.git
AbortIndex is missing
This commit is contained in:
parent
1e417c7a50
commit
31323f694b
|
@ -57,6 +57,7 @@ func (a errorMsgs) String() string {
|
||||||
}
|
}
|
||||||
return buffer.String()
|
return buffer.String()
|
||||||
}
|
}
|
||||||
|
const AbortIndex = math.MaxInt8 / 2
|
||||||
|
|
||||||
// Context is the most important part of gin. It allows us to pass variables between middleware,
|
// Context is the most important part of gin. It allows us to pass variables between middleware,
|
||||||
// manage the flow, validate the JSON of a request and render a JSON response for example.
|
// manage the flow, validate the JSON of a request and render a JSON response for example.
|
||||||
|
|
Loading…
Reference in New Issue