alvaroloes / enumer

A Go tool to auto generate methods for your enums
Other
478 stars 111 forks source link

Fix "package without types was imported" #66

Closed andig closed 2 years ago

andig commented 2 years ago

Fix https://github.com/alvaroloes/enumer/issues/65, fix https://github.com/alvaroloes/enumer/issues/62.

I've also raised the minimum go version since a vet error in stringer complained about that version required for integer shift.

andig commented 2 years ago

Scratch that. The minium version needed to fix the issue I had observed is 0.1.8. Since that requires Go 1.17 according to its go.mod anyway I've upgraded to Go 1.17 and the latest 0.1.10. The goldmark depedency is introduced by x/tools.