From cc20c08c9615edbb31b96c89201bf1b2189fe159 Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Thu, 23 Mar 2023 18:33:31 +0100 Subject: [PATCH] global: remove old style build tags Signed-off-by: Jason A. Donenfeld --- conn/sticky_default.go | 1 - conn/sticky_linux_test.go | 1 - ipc/namedpipe/file.go | 1 - ipc/namedpipe/namedpipe.go | 1 - ipc/namedpipe/namedpipe_test.go | 1 - tun/netstack/examples/http_client.go | 1 - tun/netstack/examples/http_server.go | 1 - tun/netstack/examples/ping_client.go | 1 - 8 files changed, 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 *