commit | fa491999fbfe4e54000520294779f2944b8ef912 | [log] [tgz] |
---|---|---|
author | Ian Cottrell <iancottrell@google.com> | Thu Apr 04 17:42:34 2019 -0400 |
committer | Ian Cottrell <iancottrell@google.com> | Mon Apr 15 20:14:25 2019 +0000 |
tree | 66539110707c1f0b6938137252905191abdccc09 | |
parent | 2b5498619ef1a28b0c62559aa2d2ded43a30ce2e [diff] |
internal/lsp: add unified diff This adds unified diff handling to the diff package. It also adds a lot more testing and also verifies the unified diff tests against the diff program if you run the tests with the flag -verify-diff This functionality is needed for some of the command verbs. Change-Id: I817438fd25c0b16f3f31578f51a886944e74a948 Reviewed-on: https://go-review.googlesource.com/c/tools/+/171024 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.