3
0
mirror of https://github.com/gin-gonic/gin.git synced 2025-04-06 03:57:46 +08:00

AbortIndex is missing

This commit is contained in:
Manu Mtz-Almeida 2015-03-26 04:27:34 +01:00
parent 1e417c7a50
commit 31323f694b

@ -57,6 +57,7 @@ func (a errorMsgs) String() 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,
// manage the flow, validate the JSON of a request and render a JSON response for example.