goas
goas copied to clipboard
Error: parseImportStatements
Hello, I am generating the documentation for one of my projects, but I have this error
2020/08/20 10:48:18 gopkg.in/yaml.v2 -> /Users/joborettoble/go/pkg/mod/gopkg.in/[email protected]
2020/08/20 10:48:19 Error: parseImportStatements: parse of /Users/joborettoble/go/pkg/mod/golang.org/x/[email protected]/cmd/fiximports/testdata/src/old.com/bad package cause error: /Users/joborettoble/go/pkg/mod/golang.org/x/[email protected]/cmd/fiximports/testdata/src/old.com/bad/bad.go:2:43: expected 'package', found 'EOF'
One of my modules has this dependency https://github.com/golang/tools/blob/master/cmd/fiximports/testdata/src/old.com/bad/bad.go
How can we handle this error?
Thanks!
Hello,
I’m upvoting this. I have several breaking dependencies, such as the github.com/golang/tools one, or this one: https://github.com/google/wire/blob/main/internal/wire/testdata/NoopBuild/want/wire_gen.go
Is it possible to use this goas
with such dependencies?
Hey, I was able to fix the issue and have it forked here.