go-resty / resty

Simple HTTP and REST client library for Go
MIT License
9.89k stars 696 forks source link

refactor: inherit value from client enables clean request overrides #516 #706

Closed jeevatkm closed 11 months ago

jeevatkm commented 11 months ago

Closes #516

codecov[bot] commented 11 months ago

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (0424ad1) 95.65% compared to head (2d8ae20) 95.65%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #706 +/- ## ======================================= Coverage 95.65% 95.65% ======================================= Files 12 12 Lines 1611 1612 +1 ======================================= + Hits 1541 1542 +1 Misses 42 42 Partials 28 28 ``` | [Files Changed](https://app.codecov.io/gh/go-resty/resty/pull/706?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=go-resty) | Coverage Δ | | |---|---|---| | [client.go](https://app.codecov.io/gh/go-resty/resty/pull/706?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=go-resty#diff-Y2xpZW50Lmdv) | `96.53% <100.00%> (+<0.01%)` | :arrow_up: | | [middleware.go](https://app.codecov.io/gh/go-resty/resty/pull/706?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=go-resty#diff-bWlkZGxld2FyZS5nbw==) | `92.22% <100.00%> (ø)` | |

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