commit | 69896b714898bee1e3403560cd2e1870bcc8bd35 | [log] [tgz] |
---|---|---|
author | Tobias Klauser <tklauser@distanz.ch> | Thu Jun 30 09:30:28 2022 +0200 |
committer | Gopher Robot <gobot@golang.org> | Thu Jun 30 21:51:02 2022 +0000 |
tree | b506d84c7d029d65a3ef5d6824f432aafc0231f7 | |
parent | 1bab6f366d9ec8c152f8735b2e359822ef75e3bd [diff] |
lif: use SIOCGLIF*, AF_* and SOCK_DGRAM consts from x/sys/unix Use the the constants already defined in the golang.org/x/sys/unix package instead of locally duplicating them. Change-Id: I8ec55dccf67aa28abbca119521bac86005d80839 Reviewed-on: https://go-review.googlesource.com/c/net/+/414994 Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> TryBot-Result: Gopher Robot <gobot@golang.org> Auto-Submit: Ian Lance Taylor <iant@google.com> Run-TryBot: Ian Lance Taylor <iant@google.com> Reviewed-by: Ian Lance Taylor <iant@google.com>
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.