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

go/build: add the ability to list packages #10495

Open
josharian opened this issue Apr 17, 2015 · 1 comment

Comments

Projects
None yet
2 participants
@josharian
Copy link
Contributor

commented Apr 17, 2015

This arose in the context of CL 9001, which @mdempsky wrote:

Lastly, an alternative approach I was considering was looking into moving cmd/go's package list resolving into go/build (or an internal helper package). Then cmd/api and deps_test.go could simply do something like ctxt.List("std") without needing to run cmd/go.

I have wanted this myself. I have a couple of (private) tools that shell out to go list std to get a listing of the stdlib's packages. It'd be nice not to have to do that.

@josharian josharian added this to the Unplanned milestone Apr 17, 2015

@fd0

This comment has been minimized.

Copy link

commented Jun 7, 2015

I'd really like to be able to list packages instead of having to exec go list.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.