commit | 38570b7665dbc76b0187f095a53c5e03f321fec1 | [log] [tgz] |
---|---|---|
author | Rebecca Stambler <rstambler@golang.org> | Mon Dec 16 22:18:38 2019 -0500 |
committer | Rebecca Stambler <rstambler@golang.org> | Tue Dec 17 19:37:44 2019 +0000 |
tree | b54db6b30e1691beca367f80ee60c780417d0246 | |
parent | 640059499bce7c3adcfd1655d0431bbaae3b5f5e [diff] |
internal/lsp: fix links for interface methods This change handles fixes the link behavior for interface methods. For example, before this change, hovering on "Name" would point to an incorrect link: https://pkg.go.dev/go/types?tab=doc#object.Name. The correct link is https://pkg.go.dev/go/types?tab=doc#TypeName.Name. var typ *types.Named typ.Obj().Name() Change-Id: If28bff6069239d487e5d86cacafc20800493ebe8 Reviewed-on: https://go-review.googlesource.com/c/tools/+/211585 Run-TryBot: Rebecca Stambler <rstambler@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Heschi Kreinick <heschi@google.com>
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.