ondrajz / go-callvis

Visualize call graph of a Go program using Graphviz
https://ofabry.github.io/go-callvis
MIT License
5.94k stars 409 forks source link

error while project using dot-import and the imported package has same name #66

Open JSHai opened 4 years ago

JSHai commented 4 years ago

The situation is that my project uses dot-import and the imported package has name same as the file importing the package. go-callvis raise error "other declaration of xxx", "xxx already declared through dot-import of package xxx". How can I slove it?