commit | dbbf3f1254d491605cf4a0034ce25d0dc71b0c58 | [log] [tgz] |
---|---|---|
author | Jason A. Donenfeld <Jason@zx2c4.com> | Wed May 22 18:16:02 2019 +0200 |
committer | Brad Fitzpatrick <bradfitz@golang.org> | Fri May 24 15:25:21 2019 +0000 |
tree | 19115efa272cc005a46d44b8562a9998fb058860 | |
parent | c3d486d151ced6de5bcfe3c26c9b9f22cc526edc [diff] |
windows: add IP() accessor to SocketAddress type This is what everybody winds up doing with this object, so we make it somewhat nicer than copying and pasting this everywhere or using type aliases. Change-Id: I3e12395cadfe212a7d01ce86478de9486383729a Reviewed-on: https://go-review.googlesource.com/c/sys/+/178577 Run-TryBot: Jason Donenfeld <Jason@zx2c4.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This repository holds supplemental Go packages for low-level interactions with the operating system.
The easiest way to install is to run go get -u golang.org/x/sys
. You can also manually git clone the repository to $GOPATH/src/golang.org/x/sys
.
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 sys repository is located at https://github.com/golang/go/issues. Prefix your issue with “x/sys:” in the subject line, so it is easy to find.