modgraph
Produce graphviz diagrams of import relationships between packages within a single Go module.
Installation
GO111MODULE=off go get -u github.com/jmalloc/modgraph/...
Usage
cd /path/to/module
modgraph | dot -Tpng -o /tmp/graph.png
Graph inter-package dependencies within a single Go module.
Produce graphviz diagrams of import relationships between packages within a single Go module.
GO111MODULE=off go get -u github.com/jmalloc/modgraph/...
cd /path/to/module
modgraph | dot -Tpng -o /tmp/graph.png
Graph inter-package dependencies within a single Go module.
MIT License