commit | e528388d46bcdcd78d0a0566069615ef19dfae7f | [log] [tgz] |
---|---|---|
author | Ian Cottrell <iancottrell@google.com> | Tue Apr 16 09:38:51 2019 -0400 |
committer | Ian Cottrell <iancottrell@google.com> | Tue Apr 16 21:24:01 2019 +0000 |
tree | 0fb2cec36b1c833db211ed07469d52d11e17151f | |
parent | f6a9ef9393126b25bf52e3fd8f5339acae9c2552 [diff] |
internal/lsp: Add to and from string handling for the enums This is to help with debugging, and to allow us to write tests that do not rely on hard coded constants. Change-Id: Ica9ed5eee3d35539fe50d76276988852e62b81ca Reviewed-on: https://go-review.googlesource.com/c/tools/+/172401 Run-TryBot: Ian Cottrell <iancottrell@google.com> 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.