alvaroloes / enumer

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

Update for go modules #36

Closed amanbolat closed 5 years ago

amanbolat commented 5 years ago

I used some new not yet merged code from golang repo to make this library work with go modules.

Link to the source: https://go-review.googlesource.com/c/tools/+/126535

sgtsquiggs commented 5 years ago

Love to see this merged in; otherwise currently I have to fake a GOPATH to use enumer

dmarkham commented 5 years ago

I have merged this in my new and supported version that is a drop in replacement. If your interested. https://github.com/dmarkham/enumer

alvaroloes commented 5 years ago

This should be fixed in the latest version. Closing. Thanks a lot!