ondrajz / go-callvis

Visualize call graph of a Go program using Graphviz

Home Page:https://ofabry.github.io/go-callvis

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to focus and ignore package on windows?

chenwei67 opened this issue · comments

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?