ondrajz / go-callvis

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

Focus option should support using full import path #3

Closed ondrajz closed 7 years ago

ondrajz commented 7 years ago

For situations where there might be two packages used with the same name in the program, an error should be shown and user can use full import path of the focused pkg to clearly define which one was meant to be used.

Also currently no error is shown even when defined focus pkg is not found in the program.

Thanks @peterhellberg for mentioning this!