Go-dep-graph can be used to produce visualisations of package and file dependencies of Go(lang) source code.
Usage:
$ go-dep-graph [OPTIONS] directory...
Options:
- p: show only packages, not files
- s: don’t show standard packages
Go-dep-graph produces output that’s suitable for graphviz. Just pipe the output to it.
$ ./go-dep-graph -p -s $GOPATH/src | dot -Tpdf -O
To install graphviz just type (for Ubuntu/Debian)
$ apt-get install graphviz
Feel free to open tickets or send pull requests with improvements. These contributors have done so.
Copyright (c) 2013-2015 Friedrich Pätzke. See LICENSE for further details.
Greetings. Friedrich.