commit | 15fda70baffdaf33960a0c82145a5d020cd802fd | [log] [tgz] |
---|---|---|
author | Suzy Mueller <suzmue@golang.org> | Mon Aug 19 12:43:15 2019 -0400 |
committer | Suzy Mueller <suzmue@golang.org> | Mon Aug 19 17:43:41 2019 +0000 |
tree | c4fa788a2c3649bb0e97955f3ea4bee149ffc3c9 | |
parent | d308a98e2e82cd44144bc2a94c2309b99bc8dc09 [diff] |
internal/lsp: test adding imports for package statements with comments Test that having a comment at the start of a file allows imports to be added correctly. Updates golang/go#33721 Change-Id: Id1673c2509537413710b73261ad2a59afe06b93f Reviewed-on: https://go-review.googlesource.com/c/tools/+/190800 Run-TryBot: Suzy Mueller <suzmue@golang.org> Reviewed-by: Ian Cottrell <iancottrell@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.