Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does it work for package 'main'? #16

Open
webern opened this issue Dec 13, 2018 · 2 comments
Open

Does it work for package 'main'? #16

webern opened this issue Dec 13, 2018 · 2 comments

Comments

@webern
Copy link

webern commented Dec 13, 2018

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.

@ctopinka
Copy link

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

@virak-panha
Copy link

#310793

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants