go/src/cmd/doc
Bryan C. Mills ec4de31c5c cmd/doc: treat any non-empty GOMOD as module mode
Previously, we were looking for the string go.mod specifically, but
the module-mode-outside-a-module logic added in CL 148517 sets GOMOD
to os.DevNull

Updates #28992

Change-Id: I62a4baaa911a495350294d78bae96be3fe4866cb
Reviewed-on: https://go-review.googlesource.com/c/151617
Run-TryBot: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Russ Cox <rsc@golang.org>
2018-11-29 18:59:50 +00:00
..
testdata cmd/doc: add a -src flag to show original source 2018-10-10 23:40:35 +00:00
dirs.go cmd/doc: treat any non-empty GOMOD as module mode 2018-11-29 18:59:50 +00:00
doc_test.go cmd/doc: allow -all to apply to individual items 2018-10-31 00:33:31 +00:00
main.go cmd/doc: allow -all to apply to individual items 2018-10-31 00:33:31 +00:00
pkg.go cmd/doc: minor code simplification 2018-10-18 20:16:26 +00:00