tools/cmd
Michael Matloob 3e31058cd7 internal/imports: update to permit multiple main modules
Now that there there can be multiple main modules due to workspaces in
cmd/go, update internal/imports to no longer assume that there will be
exactly one main module.

Change-Id: I9d044df612fbeaba73b8fc3dbbec0395b54ecba2
Reviewed-on: https://go-review.googlesource.com/c/tools/+/386254
Trust: Michael Matloob <matloob@golang.org>
Run-TryBot: Michael Matloob <matloob@golang.org>
Trust: Bryan Mills <bcmills@google.com>
Reviewed-by: Heschi Kreinick <heschi@google.com>
gopls-CI: kokoro <noreply+kokoro@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
2022-02-22 17:36:43 +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 cmd/callgraph: skip TestCallgraph on the windows-arm64-10 builder 2022-01-24 16:42:11 +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 cmd: avoid printing redundant newlines 2021-11-08 18:39:25 +00:00
digraph all: fix some staticcheck errors 2020-01-29 04:53:41 +00:00
eg cmd: avoid printing redundant newlines 2021-11-08 18:39:25 +00:00
file2fuzz file2fuzz: add fuzzer corpus conversion tool 2021-07-26 20:19:17 +00:00
fiximports cmd/fiximports: skip TestDryRun on plan9-arm 2022-01-24 16:42:25 +00:00
getgo cmd/getgo: determine current version via /dl/?mode=json API 2021-06-07 15:22:48 +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 internal/imports: update to permit multiple main modules 2022-02-22 17:36:43 +00:00
goimports cmd/goimports: recommend go install instead of go get in docs 2021-10-12 19:23:00 +00:00
gomvpkg cmd: avoid printing redundant newlines 2021-11-08 18:39:25 +00:00
gorename cmd/gorename: log 'go build' output on failure 2021-12-08 16:15:56 +00:00
gotype cmd: avoid printing redundant newlines 2021-11-08 18:39:25 +00:00
goyacc cmd/goyacc: reduce array sizes using smaller base types 2022-02-16 20:47:08 +00:00
guru all: various test fixes related to any 2021-12-09 15:47:16 +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 cmd/present2md: allow comments to be retained in translated document 2021-03-19 17:27:47 +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 x/tools/cmd/stringer: adjust generics tests 2021-10-28 00:09:41 +00:00
toolstash all: replace all usages of os/exec with golang.org/x/sys/execabs 2021-01-19 22:25:03 +00:00