commit | 2554d15bf5f76153d3dcd2bb249d4fe4f868b9b9 | [log] [tgz] |
---|---|---|
author | Tobias Klauser <tklauser@distanz.ch> | Thu Apr 22 00:00:00 2021 +0200 |
committer | Tobias Klauser <tobias.klauser@gmail.com> | Wed Apr 21 22:37:29 2021 +0000 |
tree | 56a4ee36e0788ce79a7f4b12e5670493e83b192c | |
parent | 798c2154c571f098feedb84bca3043abd7dadf2a [diff] |
internal/socket: use SizeofSockaddrInet{4,6} constants from x/sys/unix Use the SizeofSockaddrInet4 and SizeofSockaddrInet6 constants defined in the golang.org/x/sys/unix package instead of locally duplicating them. Change-Id: I7e7ea9ec6e81a0af70bbf5c7e91f61a0662228ff Reviewed-on: https://go-review.googlesource.com/c/net/+/312489 Trust: Tobias Klauser <tobias.klauser@gmail.com> Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> Reviewed-by: Ian Lance Taylor <iant@golang.org>
This repository holds supplementary Go networking libraries.
The easiest way to install is to run go get -u golang.org/x/net
. You can also manually git clone the repository to $GOPATH/src/golang.org/x/net
.
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 net repository is located at https://github.com/golang/go/issues. Prefix your issue with “x/net:” in the subject line, so it is easy to find.