1
0
mirror of https://github.com/golang/go synced 2024-11-08 09:56:19 -07:00
go/src/cmd/doc
Michael Fraenkel d0d47bb94f cmd/doc: continue to search when package import fails
Keep searching for a package that is both findable and importable. The
current code would always guarantee that a package was findable but
exited if it was not importable.

Fixes #25478

Change-Id: I237b7dfafb930cae02538c4a2e4d5ce0c1058478
Reviewed-on: https://go-review.googlesource.com/114295
Reviewed-by: Bryan C. Mills <bcmills@google.com>
Reviewed-by: Rob Pike <r@golang.org>
Run-TryBot: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2018-06-11 22:09:14 +00:00
..
testdata cmd/doc: continue to search when package import fails 2018-06-11 22:09:14 +00:00
dirs.go cmd/doc: skip directories like other go tools 2018-05-01 05:02:43 +00:00
doc_test.go cmd/doc: continue to search when package import fails 2018-06-11 22:09:14 +00:00
main.go cmd/doc: continue to search when package import fails 2018-06-11 22:09:14 +00:00
pkg.go