dmarkham / enumer

A Go tool to auto generate methods for your enums
Other
411 stars 63 forks source link

port of the bson patch #25

Closed dmarkham closed 5 years ago

dmarkham commented 5 years ago

This seems to work but, is too closely tied to the go.mongodb.org/mongo-driver/bson bothers me it's not generic or built in like everything else.

codecov-io commented 5 years ago

Codecov Report

Merging #25 into master will decrease coverage by 0.12%. The diff coverage is 50%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #25      +/-   ##
==========================================
- Coverage   65.13%   65.01%   -0.13%     
==========================================
  Files           3        3              
  Lines         436      443       +7     
==========================================
+ Hits          284      288       +4     
- Misses        140      143       +3     
  Partials       12       12
Impacted Files Coverage Δ
enumer.go 100% <100%> (ø) :arrow_up:
stringer.go 59.63% <33.33%> (-0.26%) :arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update f93c6b0...9a06c80. Read the comment docs.

bzon commented 3 years ago

Is bson supported now?