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