commit | 3d22a3cfff5f51e8f1f3dd41df13b43fef4e79ad | [log] [tgz] |
---|---|---|
author | Ian Cottrell <iancottrell@google.com> | Mon Sep 09 13:04:12 2019 -0400 |
committer | Ian Cottrell <iancottrell@google.com> | Tue Sep 10 14:40:41 2019 +0000 |
tree | 30b86ad5ca5fea59dc9c495cabedaa0801fece6c | |
parent | 238129aa638afb6cf8cf56a290487ddd93c2fad7 [diff] |
internal/lsp: only build a view when we have its configuration We now wait to build views until we have the options for that view, and pass the options in to the view constructor. The environment and build flags are now part of the view options. Change-Id: I303c8ba1eefd01b66962ba9cadb4847d3d2e1d3b Reviewed-on: https://go-review.googlesource.com/c/tools/+/194278 Run-TryBot: Ian Cottrell <iancottrell@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.