Closed sgtsquiggs closed 5 years ago
was unrelated to enumer/stringer.
What was the solution to this issue? Am seeing this now.
It might have been related to the gopath's and go mods. see #36 ? That has not been merged in yet here. Feel free to try my fork that is a little more actively maintained.
Thanks, @dmarkham. I actually got my use case to work by moving my type to its own file and having enumer
only process that specific file //go:generate enumer -type=Pill -json . $GOFILE
.
Not using modules!
I see the same error when using
stringer
, so perhaps this error is upstream.