commit | b32ec66a2388b02f8d9f60e1301ef5f41de82250 | [log] [tgz] |
---|---|---|
author | Ian Cottrell <iancottrell@google.com> | Thu Jul 11 12:57:35 2019 -0400 |
committer | Ian Cottrell <iancottrell@google.com> | Fri Jul 12 21:23:00 2019 +0000 |
tree | e9b9dd68fe36339450ecab1e053b722a1ed2a61d | |
parent | f4b4e63240932efad190fe5b1f21ed53df8a0d3d [diff] |
internal/jsonrpc2: cleanup the jsonrpc2 callbacks We merge them into a single interface and support multiple of them rather than just one. This will allow us to stack handlers with different responsabilities and extract some core logic (like tracing) out to a handler where it belongs. Change-Id: I6aab92138550c5062fcb1bed86171e0850d1eb38 Reviewed-on: https://go-review.googlesource.com/c/tools/+/185879 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.