dmarkham / enumer

A Go tool to auto generate methods for your enums
Other
410 stars 66 forks source link

cleanup commented code, golangci-lint fixes #70

Open angaz opened 1 year ago

angaz commented 1 year ago

Cleaned up some commented out code, and ran golangci-lint, and fixed the errors.

I also thought that generate function had a bit too many parameters, so I made a struct for the params for that function.

codecov-commenter commented 1 year ago

Codecov Report

Merging #70 (ded6a10) into master (71d3edd) will decrease coverage by 0.20%. The diff coverage is 62.22%.

@@            Coverage Diff             @@
##           master      #70      +/-   ##
==========================================
- Coverage   66.23%   66.02%   -0.21%     
==========================================
  Files           4        4              
  Lines         465      471       +6     
==========================================
+ Hits          308      311       +3     
- Misses        146      149       +3     
  Partials       11       11              
Impacted Files Coverage Δ
stringer.go 60.88% <62.22%> (-0.17%) :arrow_down:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.