commit | ae8529dc1617e5bdf52ad634399d6411d4b31324 | [log] [tgz] |
---|---|---|
author | Agniva De Sarker <agnivade@yahoo.co.in> | Fri Sep 28 16:03:36 2018 +0530 |
committer | Brad Fitzpatrick <bradfitz@golang.org> | Fri Sep 28 16:24:37 2018 +0000 |
tree | dc4225870990d0ff13026cf29c22e98251f0f1ed | |
parent | 73ed285d4cd8d8e1bf4d9fcb3f0b94ba45a44e7b [diff] |
godoc/vfs/zipfs: join paths to get correct RootType The logic was incorrectly written from vfs/os.go. zipfs filesystem passes actual paths during dirTree building. So we need to join the paths to determine whether they are under GOROOT or GOPATH. Updates golang/go#27205 Change-Id: Ic4330fce02c6ebfc44ae21122e2412c33f0cd45a Reviewed-on: https://go-review.googlesource.com/138435 Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This subrepository holds the source for various packages and tools that support the Go programming language.
Some of the tools, godoc
and vet
for example, are included in binary Go distributions.
Others, including the Go guru
and the test coverage tool, can be fetched with go get
.
Packages include a type-checker for Go and an implementation of the Static Single Assignment form (SSA) representation for Go programs.
The easiest way to install is to run go get -u golang.org/x/tools/...
. You can also manually git clone the repository to $GOPATH/src/golang.org/x/tools
.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html.
The main issue tracker for the tools repository is located at https://github.com/golang/go/issues. Prefix your issue with “x/tools/(your subdir):” in the subject line, so it is easy to find.