kisielk / godepgraph

A Go dependency graph visualization tool
MIT License
1.05k stars 90 forks source link

Run for main packages #36

Closed sturfee-petrl closed 5 years ago

sturfee-petrl commented 5 years ago

It would be very useful if it would be possible to run for executable sources.

Commonly I am trying to move all functionality in separate modules and I clue logic at executable sources. But godepgraph can't parse not imported source files.

As I have commonly 2 executable sources then I just rename main to somename and it works.

sturfee-petrl commented 5 years ago

It's really stupid because when I rethink this issue and submitted. I got doubts and I recheck it in third time. and it worked :|