]> Cypherpunks repositories - gostls13.git/commit
cmd/go: add go list -deps
authorRuss Cox <rsc@golang.org>
Wed, 18 Apr 2018 15:10:00 +0000 (11:10 -0400)
committerRuss Cox <rsc@golang.org>
Wed, 25 Apr 2018 21:01:04 +0000 (21:01 +0000)
commit90e860f1a8f1412dad5f0c6ae10b650352c3a6b3
tree8b1a1a77f59a8f82af624de7a10b801666783297
parent9c9ed9aa9dae40b97348979cc4b13f6b26624a7e
cmd/go: add go list -deps

This gives an easy way to query properties of all the deps
of a set of packages, in a single go list invocation.
Go list has already done the hard work of loading these
packages, so exposing them is more efficient than
requiring a second invocation.

This will be helpful for tools asking cmd/go about build
information.

Change-Id: I90798e386246b24aad92dd13cb9e3788c7d30e91
Reviewed-on: https://go-review.googlesource.com/107776
Run-TryBot: Russ Cox <rsc@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Bryan C. Mills <bcmills@google.com>
src/cmd/go/alldocs.go
src/cmd/go/go_test.go
src/cmd/go/internal/list/list.go