summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2023-03-23 18:33:31 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2023-03-23 18:34:09 +0100
commitcc20c08c9615edbb31b96c89201bf1b2189fe159 (patch)
tree3406d401e5ee484f99fa35b64ccde2bb0687f237
parent1417a47c8fa816f427ac56ebe79a90a97a01aef5 (diff)
global: remove old style build tags
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
-rw-r--r--conn/sticky_default.go1
-rw-r--r--conn/sticky_linux_test.go1
-rw-r--r--ipc/namedpipe/file.go1
-rw-r--r--ipc/namedpipe/namedpipe.go1
-rw-r--r--ipc/namedpipe/namedpipe_test.go1
-rw-r--r--tun/netstack/examples/http_client.go1
-rw-r--r--tun/netstack/examples/http_server.go1
-rw-r--r--tun/netstack/examples/ping_client.go1
8 files changed, 0 insertions, 8 deletions
diff --git a/conn/sticky_default.go b/conn/sticky_default.go
index 3ce9a56..8c0adf5 100644
--- a/conn/sticky_default.go
+++ b/conn/sticky_default.go
@@ -1,5 +1,4 @@
//go:build !linux
-// +build !linux
/* SPDX-License-Identifier: MIT
*
diff --git a/conn/sticky_linux_test.go b/conn/sticky_linux_test.go
index 503c342..3213e77 100644
--- a/conn/sticky_linux_test.go
+++ b/conn/sticky_linux_test.go
@@ -1,5 +1,4 @@
//go:build linux
-// +build linux
/* SPDX-License-Identifier: MIT
*
diff --git a/ipc/namedpipe/file.go b/ipc/namedpipe/file.go
index ec9b8d4..ab1e13d 100644
--- a/ipc/namedpipe/file.go
+++ b/ipc/namedpipe/file.go
@@ -4,7 +4,6 @@
// license that can be found in the LICENSE file.
//go:build windows
-// +build windows
package namedpipe
diff --git a/ipc/namedpipe/namedpipe.go b/ipc/namedpipe/namedpipe.go
index 92cc1ee..ef3dea1 100644
--- a/ipc/namedpipe/namedpipe.go
+++ b/ipc/namedpipe/namedpipe.go
@@ -4,7 +4,6 @@
// license that can be found in the LICENSE file.
//go:build windows
-// +build windows
// Package namedpipe implements a net.Conn and net.Listener around Windows named pipes.
package namedpipe
diff --git a/ipc/namedpipe/namedpipe_test.go b/ipc/namedpipe/namedpipe_test.go
index 84d2987..998453b 100644
--- a/ipc/namedpipe/namedpipe_test.go
+++ b/ipc/namedpipe/namedpipe_test.go
@@ -4,7 +4,6 @@
// license that can be found in the LICENSE file.
//go:build windows
-// +build windows
package namedpipe_test
diff --git a/tun/netstack/examples/http_client.go b/tun/netstack/examples/http_client.go
index 7df587a..ccd32ed 100644
--- a/tun/netstack/examples/http_client.go
+++ b/tun/netstack/examples/http_client.go
@@ -1,5 +1,4 @@
//go:build ignore
-// +build ignore
/* SPDX-License-Identifier: MIT
*
diff --git a/tun/netstack/examples/http_server.go b/tun/netstack/examples/http_server.go
index 3130c70..f5b7a8f 100644
--- a/tun/netstack/examples/http_server.go
+++ b/tun/netstack/examples/http_server.go
@@ -1,5 +1,4 @@
//go:build ignore
-// +build ignore
/* SPDX-License-Identifier: MIT
*
diff --git a/tun/netstack/examples/ping_client.go b/tun/netstack/examples/ping_client.go
index e1b11cb..2eef0fb 100644
--- a/tun/netstack/examples/ping_client.go
+++ b/tun/netstack/examples/ping_client.go
@@ -1,5 +1,4 @@
//go:build ignore
-// +build ignore
/* SPDX-License-Identifier: MIT
*