commit | e18c1c42de9b078d0bf51bc5c9097fa21699cb61 | [log] [tgz] |
---|---|---|
author | Rebecca Stambler <rstambler@golang.org> | Mon Mar 30 16:26:04 2020 -0400 |
committer | Rebecca Stambler <rstambler@golang.org> | Tue Mar 31 02:48:52 2020 +0000 |
tree | a58f15bb5e30c83968f8e0cb6958f7c98e253aa2 | |
parent | a7c0594f4ea247394953f26ca8944e792d4d0d01 [diff] |
internal/lsp: add a reg test to test "go mod init" This change adds a RunGoCommand function to the workspace, which will allow us to test how gopls responds when a certain go command is executed. Add a test that checks behavior after "go mod init" runs. Change-Id: I679249c1654b136d44187397b4196b8a10b5615e Reviewed-on: https://go-review.googlesource.com/c/tools/+/226478 Run-TryBot: Rebecca Stambler <rstambler@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Robert Findley <rfindley@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.