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.
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.