This feature is enabled on any package you view through godoc.org; just
look at the bottom of the page.
On Monday, 31 July 2017 10:15:43 UTC+10, Steve Roth wrote:
>
> https://github.com/davecheney/prdeps is another.
> Steve
>
> On Saturday, July 29, 2017 at 9:55:05 PM UTC-7, Tong Sun wrote:
>>
>>
https://github.com/davecheney/prdeps is another.
Steve
On Saturday, July 29, 2017 at 9:55:05 PM UTC-7, Tong Sun wrote:
>
> Is there any tools out there that can show import tree for Go projects?
> I.e., the dependency graph that shows who imports what packages.
>
> During `go build -v` I saw one
You can try using https://github.com/kisielk/godepgraph. Its a great tool.
In combination with GraphViz it can produce dependency graphs in various
formats.
Of course, you can always do something among the lines of go list -f
'{{.Deps}}', but I do not believe it will give you graph, only list o