Closed shanicky closed 1 year ago
I think this occurs because goreturns must compile and typecheck packages, not just individual source files (which is sufficient for goimports). It would be good to make it deal with this situation. PRs happily accepted to anyone who reads this!
Hi
when I set a flag like
//go:generate stringer -type=AType
I got an error like thiswhen i change back to
goimports
the error disappear so dose it support generate flag?