alvaroloes / enumer

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

Go 1.19: conflict with doc comments #68

Open andig opened 2 years ago

andig commented 2 years ago

Go 1.19 changed how the go tool handles doc comments. This leads to gofmt now reformatting enumer-generated files from previous versions like this:

  // Code generated by "enumer -type ObservationID"; DO NOT EDIT.

+ //
  package easee