aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/keepalive_dummy.go3
-rw-r--r--lib/keepalive_linux.go3
2 files changed, 4 insertions, 2 deletions
diff --git a/lib/keepalive_dummy.go b/lib/keepalive_dummy.go
index 205b577b..d455a426 100644
--- a/lib/keepalive_dummy.go
+++ b/lib/keepalive_dummy.go
@@ -1,4 +1,5 @@
-//+build !linux
+//go:build !linux
+// +build !linux
package lib
diff --git a/lib/keepalive_linux.go b/lib/keepalive_linux.go
index 0dc32850..48113388 100644
--- a/lib/keepalive_linux.go
+++ b/lib/keepalive_linux.go
@@ -1,4 +1,5 @@
-//+build linux
+//go:build linux
+// +build linux
package lib