-
Notifications
You must be signed in to change notification settings - Fork 8.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fallback Context.Deadline() Context.Done() Context.Err() to Context.Request.Context() #2769
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2769 +/- ##
==========================================
+ Coverage 98.70% 98.71% +0.01%
==========================================
Files 41 41
Lines 2077 2100 +23
==========================================
+ Hits 2050 2073 +23
Misses 15 15
Partials 12 12
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
…equest.Context() (gin-gonic#2769) * fallback Context.Deadline() Context.Done() Context.Err() to Context.Request.Context() * update comments wording
It seems that this PR is breaking change in regard of how works gin v1.7 (#3166) |
base on comment #2751 (comment) in #2751
also fallback Context.Deadline() Context.Done() Context.Err() to Context.Request.Context()