commit | c0791ff00ba4cf348960cebad3e4da48b5a0f8a7 | [log] [tgz] |
---|---|---|
author | Ian Cottrell <iancottrell@google.com> | Fri May 01 15:51:44 2020 -0400 |
committer | Ian Cottrell <iancottrell@google.com> | Wed May 27 14:27:59 2020 +0000 |
tree | adaa8bd9577aff43e3ae5fc5940968f470c37c5b | |
parent | dd5f9d103370701e38c56c98959b989e13dbc3ac [diff] |
internal/fakenet: add a fake network connection This adds the ability to make a net.Conn based on a reader/writer pair. This is primarily useful for pretending stdin/stdout are a network connection, but can be used for any reader/writer pair. Change-Id: Ib398e62e0fac423db04aed27cfc48070bda2b93b Reviewed-on: https://go-review.googlesource.com/c/tools/+/231697 Run-TryBot: Ian Cottrell <iancottrell@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Robert Findley <rfindley@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.