ondrajz / go-callvis

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

How to focus and ignore package on windows? #134

Open chenwei67 opened 1 year ago

chenwei67 commented 1 year ago

When I use " go-callvis.exe -focus 'scloud/webbase' ", usage suggest "Package should be main package, otherwise -tests flag must be used.", and i use "go-callvis.exe -focus -tests 'scloud/webbase'" as the suggestion and it works, but the output involved sub package "scloud/webbase/debug" which have some problem, so, i try to ignore this package by using "go-callvis.exe -focus -tests 'scloud/webbase' -ignore 'scloud/webbase/debug'" and "go-callvis.exe -focus -tests 'scloud/webbase' -ignore -tests 'scloud/webbase/debug'" which not works and the output is usage neigther. My go.mod file is in "scloud" director. So, what's the correct way to focus and ignore package on windows?