alvaroloes / enumer

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

Support for go@1.20 #69

Open diegostamigni opened 1 year ago

diegostamigni commented 1 year ago

Since go@1.20, enumer started failing randomly with

enumer: internal error: package "<SOME_PACKAGE>" without types was imported from myproject/a/b/c

This issue has been associated with golang.org/x/tools being too old and thus requiring upgrade. This PR upgrades such package and confirms that the issue is solved.