spyzhov / ajson

Abstract JSON for Golang with JSONPath support
MIT License
247 stars 23 forks source link

#69 Fix the `sum` and `avg` function for the only numeric value. #70

Closed spyzhov closed 5 months ago

spyzhov commented 5 months ago

Closes #69

codecov-commenter commented 5 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 86.78%. Comparing base (a3c0a6b) to head (04891a5).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #70 +/- ## ========================================== + Coverage 86.73% 86.78% +0.05% ========================================== Files 11 11 Lines 3084 3096 +12 ========================================== + Hits 2675 2687 +12 Misses 326 326 Partials 83 83 ``` | [Flag](https://app.codecov.io/gh/spyzhov/ajson/pull/70/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Stepan+Pyzhov) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/spyzhov/ajson/pull/70/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Stepan+Pyzhov) | `86.78% <100.00%> (+0.05%)` | :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=Stepan+Pyzhov#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.