depth icon indicating copy to clipboard operation
depth copied to clipboard

Does it work for package 'main'?

Open webern opened this issue 7 years ago • 2 comments

I tried this on a server program where I want to see the dependency tree starting from the main package. I cd'ed into the same directory where main.go is found and ran depth main. This returned 'main': FATAL: unable to resolve root package.

Of note is that I have many 'local' packages under main, and that is the tree that I would like to see.

Thanks.

webern avatar Dec 13 '18 17:12 webern

How does this work with mod now? Where do these packages need to exist relative to gopath? Thanks

ctopinka avatar Apr 17 '19 21:04 ctopinka

#310793

virak-panha avatar Dec 27 '19 20:12 virak-panha