go/cmd/godoc
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
..
doc.go cmd/godoc: remove extra // characters from deprecation notice 2021-11-24 23:04:05 +00:00
godoc_test.go godoc/analysis: remove deprecated analysis package 2021-10-29 00:04:41 +00:00
goroot.go all: replace all usages of os/exec with golang.org/x/sys/execabs 2021-01-19 22:25:03 +00:00
handlers.go playground: remove /share registration, add Proxy 2021-02-25 15:03:53 +00:00
main.go internal/imports: update to permit multiple main modules 2022-02-22 17:36:43 +00:00