AbortIndex is missing

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

View File

@ -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.