go-sigma / sigma

OCI-Native artifact manager
https://docs.sigma.tosone.cn
Apache License 2.0
129 stars 10 forks source link

:bug: Fix user create or update failed #325

Closed tosone closed 7 months ago

tosone commented 7 months ago

ref: #324

codecov[bot] commented 7 months ago

Codecov Report

Attention: Patch coverage is 0% with 40 lines in your changes are missing coverage. Please review.

Project coverage is 22.80%. Comparing base (fb0ce2e) to head (01a854a).

Files Patch % Lines
pkg/dal/dao/mocks/user.go 0.00% 16 Missing :warning:
pkg/dal/dao/user.go 0.00% 11 Missing :warning:
pkg/handlers/users/users_post.go 0.00% 7 Missing :warning:
pkg/handlers/users/users_put.go 0.00% 6 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #325 +/- ## ========================================== - Coverage 23.39% 22.80% -0.59% ========================================== Files 275 273 -2 Lines 19020 18707 -313 ========================================== - Hits 4449 4266 -183 + Misses 14150 14053 -97 + Partials 421 388 -33 ``` | [Flag](https://app.codecov.io/gh/go-sigma/sigma/pull/325/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=go-sigma) | Coverage Δ | | |---|---|---| | [unit-test-mysql](https://app.codecov.io/gh/go-sigma/sigma/pull/325/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=go-sigma) | `22.80% <0.00%> (-0.59%)` | :arrow_down: | | [unit-test-postgresql](https://app.codecov.io/gh/go-sigma/sigma/pull/325/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=go-sigma) | `22.80% <0.00%> (-0.59%)` | :arrow_down: | | [unit-test-sqlite3](https://app.codecov.io/gh/go-sigma/sigma/pull/325/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=go-sigma) | `22.80% <0.00%> (-0.59%)` | :arrow_down: | 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-sigma#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.