incu6us / goimports-reviser

Right imports sorting & code formatting tool (goimports alternative)
MIT License
607 stars 72 forks source link

Refactor to switch-case; decrease indentation #122

Closed alexandear closed 1 year ago

alexandear commented 1 year ago

This PR does refactorings:

codecov[bot] commented 1 year ago

Codecov Report

Merging #122 (56f395a) into master (0d5a4c9) will decrease coverage by 0.02%. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #122      +/-   ##
==========================================
- Coverage   90.08%   90.06%   -0.02%     
==========================================
  Files           8        8              
  Lines         625      624       -1     
==========================================
- Hits          563      562       -1     
  Misses         43       43              
  Partials       19       19              
Flag Coverage Δ
unittests 90.06% <100.00%> (-0.02%) :arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Changed Coverage Δ
reviser/file.go 94.79% <100.00%> (-0.02%) :arrow_down:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more