summaryrefslogtreecommitdiffhomepage
path: root/tun
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 /tun
parent82d2aa87aa623cb5143a41c3345da4fb875ad85d (diff)
global: add newer-style build tags
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'tun')
-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
4 files changed, 4 insertions, 0 deletions
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