dmarkham / enumer

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

BSON support #75

Open genesor opened 1 year ago

genesor commented 1 year ago

Hi @dmarkham

While digging in the previous PR of the project I noticed that you had made some work on BSON support back in 2019 but did not finish it.

If I was to open a PR to make a -bson flag again would you be willing to merge it ? I understood that you did not like the fact that the generated code would be tied to the external mongodb package but I don't think there is any alternative way to implement a BSON marshaller for now.