go-callvis
go-callvis copied to clipboard
how to gen a whole call graph in my go module
Currently, i use
go-callvis -file=filename <module_name>
to gen a svg call graph for my project. But i find the output is just a filename.svg that cover main.go .
Acctually, i want to gen all svg call graph of my proj, instead of an interactive mode or just a single file's call graph.
So that , i can jump arbitrarily locally instead of request HTTP server.
Is there any solution to help me solve the above question?
Try adding flag -focus='""
. If the output is too large or very complex or even fails, try to set focus
to the name of a specific package you want to focus your call graph on.