commit | f7b8cc7bd0d01227f2f0a11849f117f4a5b4d6c7 | [log] [tgz] |
---|---|---|
author | Heschi Kreinick <heschi@google.com> | Wed Feb 12 16:36:46 2020 -0500 |
committer | Heschi Kreinick <heschi@google.com> | Fri Feb 14 22:51:03 2020 +0000 |
tree | 9402fcba3a62e2da82e8378e6c471b9b652cfa4d | |
parent | 548b770e2dfa30209b6cf473c8317a1ac0929ad9 [diff] |
internal/span,lsp: disambiguate URIs, DocumentURIs, and paths Create a real type for protocol.DocumentURIs. Remove span.NewURI in favor of path/URI-specific constructors. Remove span.Parse's ability to parse URI-based spans, which appears to be totally unused. As a consequence, we no longer mangle non-file URIs to start with file://, and crash all over the place when one is opened. Updates golang/go#33699. Change-Id: Ic7347c9768e38002b4ad9c84471329d0af7d2e05 Reviewed-on: https://go-review.googlesource.com/c/tools/+/219482 Run-TryBot: Heschi Kreinick <heschi@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Rebecca Stambler <rstambler@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.