Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Machine readable output #178

Open
harshkolhatkar opened this issue Apr 1, 2024 · 1 comment
Open

Machine readable output #178

harshkolhatkar opened this issue Apr 1, 2024 · 1 comment

Comments

@harshkolhatkar
Copy link

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!

@ondrajz
Copy link
Owner

ondrajz commented Jan 1, 2025

Hey, thanks for your question! Currently, there is no way to generate any structured output beside dot format which is already processed and most likely won't meet your needs. However, your use-case is valuable and is definitely something that will be added, because I plan to use this data in other project as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

2 participants