commit | d55e0c10ad5e2fde97697e01c46c12a2b2406a10 | [log] [tgz] |
---|---|---|
author | Ian Lance Taylor <iant@golang.org> | Thu Mar 19 14:29:23 2020 -0700 |
committer | Ian Lance Taylor <iant@golang.org> | Fri Mar 20 00:49:34 2020 +0000 |
tree | adae1f55c87a40230a4ac00d8f2565d6d8ab2557 | |
parent | a3a9901c1e82f69e41308f45448f4db618548366 [diff] |
net: merge common Unix/Windows methods When we added the internal/poll package, the Unix and Windows implementations of several netFD methods became exactly the same, except for using a different name for the string passed to wrapSyscallError. One case is not an exact duplicate: we slightly tweak the implementation of (*netFD).shutdown on Windows to wrap the error. Change-Id: I3d87a317d5468ff8f1958d86f6189ea1ba697e9a Reviewed-on: https://go-review.googlesource.com/c/go/+/224140 Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Emmanuel Odeke <emm.odeke@gmail.com>
Go is an open source programming language that makes it easy to build simple, reliable, and efficient software.
Gopher image by Renee French, licensed under Creative Commons 3.0 Attributions license.
Our canonical Git repository is located at https://go.googlesource.com/go. There is a mirror of the repository at https://github.com/golang/go.
Unless otherwise noted, the Go source files are distributed under the BSD-style license found in the LICENSE file.
Official binary distributions are available at https://golang.org/dl/.
After downloading a binary release, visit https://golang.org/doc/install or load doc/install.html in your web browser for installation instructions.
If a binary distribution is not available for your combination of operating system and architecture, visit https://golang.org/doc/install/source or load doc/install-source.html in your web browser for source installation instructions.
Go is the work of thousands of contributors. We appreciate your help!
To contribute, please read the contribution guidelines: https://golang.org/doc/contribute.html
Note that the Go project uses the issue tracker for bug reports and proposals only. See https://golang.org/wiki/Questions for a list of places to ask questions about the Go language.