go-sigma / sigma

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

:sparkles: Support create user and update user #219

Closed tosone closed 10 months ago

codecov[bot] commented 10 months ago

Codecov Report

Attention: 160 lines in your changes are missing coverage. Please review.

Comparison is base (2ca6cf1) 46.99% compared to head (4a472df) 45.66%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #219 +/- ## ========================================== - Coverage 46.99% 45.66% -1.34% ========================================== Files 120 122 +2 Lines 6913 7063 +150 ========================================== - Hits 3249 3225 -24 - Misses 3370 3544 +174 Partials 294 294 ``` | [Flag](https://app.codecov.io/gh/go-sigma/sigma/pull/219/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/219/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=go-sigma) | `45.66% <7.51%> (-1.34%)` | :arrow_down: | | [unit-test-postgresql](https://app.codecov.io/gh/go-sigma/sigma/pull/219/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=go-sigma) | `45.66% <7.51%> (-1.34%)` | :arrow_down: | | [unit-test-sqlite3](https://app.codecov.io/gh/go-sigma/sigma/pull/219/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=go-sigma) | `45.66% <7.51%> (-1.34%)` | :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. | [Files](https://app.codecov.io/gh/go-sigma/sigma/pull/219?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=go-sigma) | Coverage Δ | | |---|---|---| | [pkg/configs/configuration.go](https://app.codecov.io/gh/go-sigma/sigma/pull/219?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=go-sigma#diff-cGtnL2NvbmZpZ3MvY29uZmlndXJhdGlvbi5nbw==) | `0.00% <ø> (ø)` | | | [pkg/configs/default.go](https://app.codecov.io/gh/go-sigma/sigma/pull/219?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=go-sigma#diff-cGtnL2NvbmZpZ3MvZGVmYXVsdC5nbw==) | `100.00% <100.00%> (ø)` | | | [pkg/handlers/namespaces/namespaces\_put.go](https://app.codecov.io/gh/go-sigma/sigma/pull/219?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=go-sigma#diff-cGtnL2hhbmRsZXJzL25hbWVzcGFjZXMvbmFtZXNwYWNlc19wdXQuZ28=) | `71.23% <ø> (ø)` | | | [pkg/handlers/users/handler.go](https://app.codecov.io/gh/go-sigma/sigma/pull/219?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=go-sigma#diff-cGtnL2hhbmRsZXJzL3VzZXJzL2hhbmRsZXIuZ28=) | `92.59% <100.00%> (+0.28%)` | :arrow_up: | | [pkg/handlers/users/users\_reset\_passsword.go](https://app.codecov.io/gh/go-sigma/sigma/pull/219?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=go-sigma#diff-cGtnL2hhbmRsZXJzL3VzZXJzL3VzZXJzX3Jlc2V0X3Bhc3Nzd29yZC5nbw==) | `0.00% <0.00%> (ø)` | | | [pkg/validators/validators.go](https://app.codecov.io/gh/go-sigma/sigma/pull/219?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=go-sigma#diff-cGtnL3ZhbGlkYXRvcnMvdmFsaWRhdG9ycy5nbw==) | `59.25% <20.00%> (-5.53%)` | :arrow_down: | | [pkg/handlers/users/users\_list.go](https://app.codecov.io/gh/go-sigma/sigma/pull/219?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=go-sigma#diff-cGtnL2hhbmRsZXJzL3VzZXJzL3VzZXJzX2xpc3QuZ28=) | `0.00% <0.00%> (ø)` | | | [pkg/handlers/users/users\_login.go](https://app.codecov.io/gh/go-sigma/sigma/pull/219?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=go-sigma#diff-cGtnL2hhbmRsZXJzL3VzZXJzL3VzZXJzX2xvZ2luLmdv) | `0.00% <0.00%> (-100.00%)` | :arrow_down: | | [pkg/dal/dao/user.go](https://app.codecov.io/gh/go-sigma/sigma/pull/219?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=go-sigma#diff-cGtnL2RhbC9kYW8vdXNlci5nbw==) | `14.95% <0.00%> (-3.23%)` | :arrow_down: | | [pkg/handlers/users/users\_post.go](https://app.codecov.io/gh/go-sigma/sigma/pull/219?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=go-sigma#diff-cGtnL2hhbmRsZXJzL3VzZXJzL3VzZXJzX3Bvc3QuZ28=) | `0.00% <0.00%> (ø)` | | | ... and [1 more](https://app.codecov.io/gh/go-sigma/sigma/pull/219?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=go-sigma) | |

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