summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-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
*