Any idea how I can fix the error below? I have a go (stringer) generator that I am trying to run, but it continues to report that it cannot find the package import, although the package is definitely imported.
stringer: checking package: main.go:13:3: could not import example.io/api/util (can't find import: example.io/api/util)
main.go:33: running "stringer": exit status 1
source
share