go-resty / resty

Simple HTTP and REST client library for Go
MIT License
10.01k stars 706 forks source link

feat: add context concept into client and update request flow with features #722 #875

Closed jeevatkm closed 2 weeks ago

jeevatkm commented 2 weeks ago

closes #722

codecov[bot] commented 2 weeks ago

Codecov Report

Attention: Patch coverage is 98.24561% with 2 lines in your changes missing coverage. Please review.

Project coverage is 98.42%. Comparing base (c6cf259) to head (a9bf436). Report is 3 commits behind head on main.

Files with missing lines Patch % Lines
request.go 95.45% 1 Missing and 1 partial :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #875 +/- ## ========================================== + Coverage 98.15% 98.42% +0.26% ========================================== Files 14 14 Lines 2329 2410 +81 ========================================== + Hits 2286 2372 +86 + Misses 23 20 -3 + Partials 20 18 -2 ``` | [Flag](https://app.codecov.io/gh/go-resty/resty/pull/875/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=go-resty) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/go-resty/resty/pull/875/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=go-resty) | `98.42% <98.24%> (+0.26%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=go-resty#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.