diff --git a/requestid.go b/requestid.go index 8d1e942..bb844f4 100644 --- a/requestid.go +++ b/requestid.go @@ -19,7 +19,7 @@ func RequestId() gin.HandlerFunc { // Create request id with UUID4 if requestID == "" { - uuid4, _ := uuid.NewV4() + uuid4 := uuid.NewV4() requestID = uuid4.String() }