diff --git a/context.go b/context.go index 1f356515..8f5284ca 100644 --- a/context.go +++ b/context.go @@ -44,9 +44,7 @@ const BodyBytesKey = "_gin-gonic/gin/bodybyteskey" // ContextKey is the key that a Context returns itself for. const ContextKey = "_gin-gonic/gin/contextkey" -type ContextKeyType int - -const ContextRequestKey ContextKeyType = 0 +const ContextRequestKey = "_gin-gonic/gin/contextrequestkey" // abortIndex represents a typical value used in abort functions. const abortIndex int8 = math.MaxInt8 >> 1