Open soypat opened 1 year ago
I just realized what's going wrong:
goda graph -std "reach(github.com/...:all, flag)" | dot -Tsvg -o graph.svg
^--- implies loading all modules from github
This should work:
goda graph -std "reach(./...:all, flag)" | dot -Tsvg -o graph.svg
I'll need to figure out why it's giving that error and whether there's a way I can output a better error.
This gives the same error btw.:
go list github.com/...
What happened
Ran goda in my repository, got a message:
Running
go mod tidy
does not fix the problem.Deleting
go.sum
fixes the issue.Steps to replicate
using go19.3: main.go contents:
Generated go.mod file
Generated
go.sum
: