aboutsummaryrefslogtreecommitdiff
path: root/src/text/template/exec_test.go
diff options
context:
space:
mode:
authorKonstantin Shaposhnikov <k.shaposhnikov@gmail.com>2015-05-17 12:07:04 +0800
committerRob Pike <r@golang.org>2015-06-01 19:59:40 +0000
commite15f89c526ec464a78b5e76279090cba785c1326 (patch)
tree6d38d333aedaef52eaa96a6daaea024a7b1f2f72 /src/text/template/exec_test.go
parent8801bdf2b3cb8f3d59664f56fba7eeb7a2cf0bdb (diff)
downloadgo-e15f89c526ec464a78b5e76279090cba785c1326.tar.xz
cmd/doc: try better when looking for package dir
When go doc is invoked with a single package name argument (e.g. go doc pkgname) it needs to find the directory of the requested package sources in GOPATH. GOPATH might contain directories with the same name as the requested package that do no contain any *.go files. This change makes "go doc" ignore such directories when looking for possible package directories. This fixes #10882 Change-Id: Ib3d4ea69a25801c34cbe7b044de9870ba12f9aa8 Reviewed-on: https://go-review.googlesource.com/10190 Reviewed-by: Rob Pike <r@golang.org>
Diffstat (limited to 'src/text/template/exec_test.go')
0 files changed, 0 insertions, 0 deletions