feat(requestid): test for the case where no requestId is given
This commit is contained in:
@ -16,5 +16,6 @@ func RequestID() gin.HandlerFunc {
|
||||
if rid = ctx.GetHeader(requestID); rid != "" {
|
||||
ctx.Set(requestID, rid)
|
||||
}
|
||||
ctx.Set("X-Request-Id", "123")
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user