commit | 619de4ed6790d0a78186875fe81e28420e8cbcb5 | [log] [tgz] |
---|---|---|
author | Ian Cottrell <iancottrell@google.com> | Mon Jun 24 09:18:31 2019 -0400 |
committer | Ian Cottrell <iancottrell@google.com> | Thu Jun 27 03:33:22 2019 +0000 |
tree | f8eca94c5183032ec998bfb5ba7f2519947d5f07 | |
parent | a6ef77d3cb2d022b636aba9bf5dfdb823dbc977e [diff] |
internal/jsonrpc2: refactor to enable a more advanced request This separates hides the wire structures, and then exposes a new Request type to allow for it to carry advanced features. It also embeds the connection into the request and changes the signature of the handler to no longer require a separate Conn argument. Change-Id: I20b54f146285f7a9cb5f279c6ebdf0f286f4b829 Reviewed-on: https://go-review.googlesource.com/c/tools/+/183717 Run-TryBot: Ian Cottrell <iancottrell@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> 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.