4 ms·
This is not a comprehensive answer, but it's additive. If you're looking at a large Go codebase with many packages, I find it helpful to visualize their import
by shurcooL 11y ago
This is not a comprehensive answer, but it's additive.
If you're looking at a large Go codebase with many packages, I find it helpful to visualize their import graph with a little command [0].
Here are results of running it on consul codebase:
$ goimportgraph github.com/hashicorp/consul/...
http://virtivia.com:27080/cehy9dnqaq92.html http://virtivia.com:27080/cehy9dnqaq92.html
[0] https://github.com/shurcooL/cmd/tree/master/goimportgraph https://github.com/shurcooL/cmd/tree/master/goimportgraph