You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/net/portmapper
Brad Fitzpatrick da8def8e13 all: remove old +build tags
The //go:build syntax was introduced in Go 1.17:

https://go.dev/doc/go1.17#build-lines

gofmt has kept the +build and go:build lines in sync since
then, but enough time has passed. Time to remove them.

Done with:

    perl -i -npe 's,^// \+build.*\n,,' $(git grep -l -F '+build')

Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2 years ago
..
disabled_stubs.go all: remove old +build tags 2 years ago
igd_test.go all: fix spelling mistakes 2 years ago
pcp.go all: migrate more code code to net/netip directly 2 years ago
pcp_test.go all: use various net/netip parse funcs directly 2 years ago
pcpresultcode_string.go net/portmapper: make PCP/PMP result codes stringers 2 years ago
pmpresultcode_string.go net/portmapper: make PCP/PMP result codes stringers 2 years ago
portmapper.go all: migrate code from netaddr.FromStdAddr to Go 1.18 2 years ago
portmapper_test.go net/netaddr: start migrating to net/netip via new netaddr adapter package 2 years ago
upnp.go all: remove old +build tags 2 years ago
upnp_test.go all: migrate more code code to net/netip directly 2 years ago