adharshmk96 / stk

Server tool kit - framework for developing server in golang
MIT License
2 stars 0 forks source link

refactor: restructured the project command, full-rewrite with context and commands package. [ closes #56 ] #58

Closed adharshmk96 closed 11 months ago

codecov[bot] commented 11 months ago

Codecov Report

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

Comparison is base (7fe6fd1) 82.40% compared to head (90cc69b) 84.92%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #58 +/- ## ========================================== + Coverage 82.40% 84.92% +2.51% ========================================== Files 14 21 +7 Lines 722 1008 +286 ========================================== + Hits 595 856 +261 - Misses 98 110 +12 - Partials 29 42 +13 ``` | [Files](https://app.codecov.io/gh/adharshmk96/stk/pull/58?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Adharsh+M) | Coverage Δ | | |---|---|---| | [pkg/project/helpers.go](https://app.codecov.io/gh/adharshmk96/stk/pull/58?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Adharsh+M#diff-cGtnL3Byb2plY3QvaGVscGVycy5nbw==) | `100.00% <100.00%> (ø)` | | | [pkg/sqlMigrator/migrate.go](https://app.codecov.io/gh/adharshmk96/stk/pull/58?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Adharsh+M#diff-cGtnL3NxbE1pZ3JhdG9yL21pZ3JhdGUuZ28=) | `77.52% <100.00%> (ø)` | | | [pkg/sqlMigrator/repo\_file.go](https://app.codecov.io/gh/adharshmk96/stk/pull/58?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Adharsh+M#diff-cGtnL3NxbE1pZ3JhdG9yL3JlcG9fZmlsZS5nbw==) | `70.96% <ø> (-2.01%)` | :arrow_down: | | [pkg/commands/go.go](https://app.codecov.io/gh/adharshmk96/stk/pull/58?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Adharsh+M#diff-cGtnL2NvbW1hbmRzL2dvLmdv) | `92.30% <92.30%> (ø)` | | | [pkg/commands/helpers.go](https://app.codecov.io/gh/adharshmk96/stk/pull/58?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Adharsh+M#diff-cGtnL2NvbW1hbmRzL2hlbHBlcnMuZ28=) | `50.00% <50.00%> (ø)` | | | [pkg/project/context.go](https://app.codecov.io/gh/adharshmk96/stk/pull/58?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Adharsh+M#diff-cGtnL3Byb2plY3QvY29udGV4dC5nbw==) | `95.31% <95.31%> (ø)` | | | [pkg/project/name.go](https://app.codecov.io/gh/adharshmk96/stk/pull/58?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Adharsh+M#diff-cGtnL3Byb2plY3QvbmFtZS5nbw==) | `84.00% <84.00%> (ø)` | | | [pkg/commands/git.go](https://app.codecov.io/gh/adharshmk96/stk/pull/58?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Adharsh+M#diff-cGtnL2NvbW1hbmRzL2dpdC5nbw==) | `85.71% <85.71%> (ø)` | | | [pkg/project/boilerplate.go](https://app.codecov.io/gh/adharshmk96/stk/pull/58?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Adharsh+M#diff-cGtnL3Byb2plY3QvYm9pbGVycGxhdGUuZ28=) | `65.00% <65.00%> (ø)` | | ... and [2 files with indirect coverage changes](https://app.codecov.io/gh/adharshmk96/stk/pull/58/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Adharsh+M)

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

adharshmk96 commented 11 months ago

TODO: improve the test coverage, can do #55 along with this