go/cmd
Josh Bleecher Snyder 28e7a3b5fe cmd/eg: use go/packages
Rewrite eg to use go/packages, so that it works with Go modules.

There are two known regressions:

* lost build tag support
* you can't use a template to add a new dependency

These can be re-added at a future point as needed.

Change-Id: I2b59bb5e101c738a4d4c40e84a12c5b3a19bcd18
Reviewed-on: https://go-review.googlesource.com/c/tools/+/258304
Trust: Josh Bleecher Snyder <josharian@gmail.com>
Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com>
gopls-CI: kokoro <noreply+kokoro@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Heschi Kreinick <heschi@google.com>
2021-02-27 20:30:18 +00:00
..
auth all: replace all usages of os/exec with golang.org/x/sys/execabs 2021-01-19 22:25:03 +00:00
benchcmp all: add copyright notices to files that are missing them 2021-01-06 17:23:47 +00:00
bundle all: fmt tests with new gofmt 2021-02-20 03:28:42 +00:00
callgraph all: go fmt ./... 2021-02-20 03:28:52 +00:00
compilebench all: replace all usages of os/exec with golang.org/x/sys/execabs 2021-01-19 22:25:03 +00:00
cover all: go fmt ./... 2021-02-20 03:28:52 +00:00
digraph all: fix some staticcheck errors 2020-01-29 04:53:41 +00:00
eg cmd/eg: use go/packages 2021-02-27 20:30:18 +00:00
fiximports all: go fmt ./... 2021-02-20 03:28:52 +00:00
getgo all: go fmt ./... 2021-02-20 03:28:52 +00:00
go-contrib-init all: replace all usages of os/exec with golang.org/x/sys/execabs 2021-01-19 22:25:03 +00:00
godex all: go fmt ./... 2021-02-20 03:28:52 +00:00
godoc playground: remove /share registration, add Proxy 2021-02-25 15:03:53 +00:00
goimports all: go fmt ./... 2021-02-20 03:28:52 +00:00
gomvpkg copyright: test that all files in the repo have copyright notices 2021-01-11 22:19:46 +00:00
gorename all: add copyright notices to files that are missing them 2021-01-06 17:23:47 +00:00
gotype all: go fmt ./... 2021-02-20 03:28:52 +00:00
goyacc cmd/goyacc: double ACTSIZE, NSTATE and TEMPSTATE 2021-01-04 08:10:19 +00:00
guru cmd/guru: adjust describe qualifier function (fix describe test) 2021-02-25 05:05:20 +00:00
html2article copyright: test that all files in the repo have copyright notices 2021-01-11 22:19:46 +00:00
present playground: remove /share registration, add Proxy 2021-02-25 15:03:53 +00:00
present2md present2md: fix depth count for blogs with sections 2020-03-17 20:55:21 +00:00
splitdwarf all: go fmt ./... 2021-02-20 03:28:52 +00:00
ssadump go/ssa/ssautil: add AllPackages method 2018-10-15 18:41:29 +00:00
stress all: go fmt ./... 2021-02-20 03:28:52 +00:00
stringer all: go fmt ./... 2021-02-20 03:28:52 +00:00
toolstash all: replace all usages of os/exec with golang.org/x/sys/execabs 2021-01-19 22:25:03 +00:00