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

Can't work on a program that doesn't have a main

cscetbon opened this issue · comments

I have a repo with different programs and they all use a function called run(), however the only way to run without a main seems to load tests when it's not what I want. How can I do it without looking at tests ?

me too i have the same problem i have package with exportable functions and i run the tool with this package and don't give me result