ondrajz / go-callvis

Visualize call graph of a Go program using Graphviz
https://ofabry.github.io/go-callvis
MIT License
5.82k stars 402 forks source link

no main packages #94

Closed waffleboot closed 3 years ago

waffleboot commented 3 years ago

WORKS: grabxkcd (master) $ ~/go/bin/go-callvis -file=1.png -format=png github.com/waffleboot/grabxkcd/main DOESN'T WORK grabxkcd (master) $ ~/go/bin/go-callvis -file=1.png -format=png github.com/waffleboot/grabxkcd/grabxkcd 2021/06/10 04:15:53 no main packages

Very poor description 'no main packages' and I don't understand what I should to do and where and why this message is created. . ├── go.mod ├── grabxkcd │   ├── api.go │   ├── grabxkcd.go │   └── output.go └── main └── main.go

waffleboot commented 3 years ago

IT WORKS ~/go/bin/go-callvis -focus github.com/waffleboot/grabxkcd/grabxkcd -file=1.png -format=png github.com/waffleboot/grabxkcd/main