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

Machine readable output

harshkolhatkar opened this issue · comments

Hey folks, I am trying to analyze a local Go package to find the entire call tree (including recursively going through method calls of method calls) of a specific method in the package. I can see the visualization on the http page, but I am trying to write custom stuff based on the output to determine whether a certain validation function gets called by those methods. Is there a way to get machine readable output like json to get this info?

The json output I got when I gave -format json was the json representation of the http page. Help is appreciated!