commit | 6b505debf4bcab2f8b753e693d7cb0dbfacdf987 | [log] [tgz] |
---|---|---|
author | Rebecca Stambler <rstambler@golang.org> | Tue Dec 24 01:49:21 2019 -0500 |
committer | Rebecca Stambler <rstambler@golang.org> | Thu Dec 26 21:20:25 2019 +0000 |
tree | f31f93828b150c7522f7c0ca1b5e7d8b726d1231 | |
parent | dd894d0a8a40d8722c8776bc704cde618915ac73 [diff] |
gopls: use mvdan.cc/xurls for textDocument/documentLink Our current implementation isn't robust, and it doesn't seem worth it to invest significant effort in improving it when this library exists. Also, make the protocol part of the default URL regex non-optional, as the alternative is that any string of the format "foo.bar" will appear to be a link. Updates golang/go#33505 Change-Id: Ia430a1c193eded394f8af12050bdd4dc2a9ccc94 Reviewed-on: https://go-review.googlesource.com/c/tools/+/212517 Reviewed-by: Heschi Kreinick <heschi@google.com> Run-TryBot: Rebecca Stambler <rstambler@golang.org> TryBot-Result: Gobot Gobot <gobot@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.