Browse Source

AbortIndex is missing

Manu Mtz-Almeida 10 years ago
parent
commit
31323f694b
1 changed files with 1 additions and 0 deletions
  1. 1 0
      context.go

+ 1 - 0
context.go

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