summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2021-10-12 11:46:53 -0600
committerJason A. Donenfeld <Jason@zx2c4.com>2021-10-12 11:46:53 -0600
commitc01d52b66af1277201f3f39d9e0e45411ba0111b (patch)
tree3edb73d39e42535f8a90874e3bcd7ce0c7d9b4e9
parent82d2aa87aa623cb5143a41c3345da4fb875ad85d (diff)
global: add newer-style build tags
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
-rw-r--r--ipc/winpipe/file.go1
-rw-r--r--ipc/winpipe/winpipe.go1
-rw-r--r--ipc/winpipe/winpipe_test.go1
-rw-r--r--tun/netstack/examples/http_client.go1
-rw-r--r--tun/netstack/examples/http_server.go1
-rw-r--r--tun/wintun/dll_fromfile_windows.go1
-rw-r--r--tun/wintun/dll_fromrsrc_windows.go1
7 files changed, 7 insertions, 0 deletions
diff --git a/ipc/winpipe/file.go b/ipc/winpipe/file.go
index 0c9abb1..748d7ac 100644
--- a/ipc/winpipe/file.go
+++ b/ipc/winpipe/file.go
@@ -1,3 +1,4 @@
+//go:build windows
// +build windows
/* SPDX-License-Identifier: MIT
diff --git a/ipc/winpipe/winpipe.go b/ipc/winpipe/winpipe.go
index f02f3d8..4a435f8 100644
--- a/ipc/winpipe/winpipe.go
+++ b/ipc/winpipe/winpipe.go
@@ -1,3 +1,4 @@
+//go:build windows
// +build windows
/* SPDX-License-Identifier: MIT
diff --git a/ipc/winpipe/winpipe_test.go b/ipc/winpipe/winpipe_test.go
index ee8dc8c..20400dd 100644
--- a/ipc/winpipe/winpipe_test.go
+++ b/ipc/winpipe/winpipe_test.go
@@ -1,3 +1,4 @@
+//go:build windows
// +build windows
/* SPDX-License-Identifier: MIT
diff --git a/tun/netstack/examples/http_client.go b/tun/netstack/examples/http_client.go
index 39b1c6d..876e237 100644
--- a/tun/netstack/examples/http_client.go
+++ b/tun/netstack/examples/http_client.go
@@ -1,3 +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 c1fc753..9420293 100644
--- a/tun/netstack/examples/http_server.go
+++ b/tun/netstack/examples/http_server.go
@@ -1,3 +1,4 @@
+//go:build ignore
// +build ignore
/* SPDX-License-Identifier: MIT
diff --git a/tun/wintun/dll_fromfile_windows.go b/tun/wintun/dll_fromfile_windows.go
index f40f8b3..31c8cc3 100644
--- a/tun/wintun/dll_fromfile_windows.go
+++ b/tun/wintun/dll_fromfile_windows.go
@@ -1,3 +1,4 @@
+//go:build !load_wintun_from_rsrc
// +build !load_wintun_from_rsrc
/* SPDX-License-Identifier: MIT
diff --git a/tun/wintun/dll_fromrsrc_windows.go b/tun/wintun/dll_fromrsrc_windows.go
index dc70486..96b51c2 100644
--- a/tun/wintun/dll_fromrsrc_windows.go
+++ b/tun/wintun/dll_fromrsrc_windows.go
@@ -1,3 +1,4 @@
+//go:build load_wintun_from_rsrc
// +build load_wintun_from_rsrc
/* SPDX-License-Identifier: MIT