Ptt-official-app / go-pttbbsweb

golang 版本的 pttbbs app/web backend
https://doc.devptt.dev
GNU General Public License v3.0
33 stars 17 forks source link

defensive programming for api.DeserializePBArticlesAndUpdateDB #550

Closed chhsiao1981 closed 2 months ago

chhsiao1981 commented 2 months ago

這個 PR 的目的 / Purpose of this PR

defensive programming for api.DeserializePBArticlesAndUpdateDB

相關的 issue / Related Issues

codecov-commenter commented 2 months ago

:warning: Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

Attention: Patch coverage is 57.14286% with 3 lines in your changes missing coverage. Please review.

Project coverage is 57.16%. Comparing base (931c3a8) to head (48213a0). Report is 21 commits behind head on main.

Files with missing lines Patch % Lines
api/article_utils.go 57.14% 2 Missing and 1 partial :warning:

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

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #550 +/- ## ========================================== + Coverage 56.58% 57.16% +0.58% ========================================== Files 199 199 Lines 15090 11882 -3208 ========================================== - Hits 8538 6792 -1746 + Misses 5569 4106 -1463 - Partials 983 984 +1 ```

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