aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorRobin Jarry <robin@jarry.cc>2021-12-11 23:20:53 +0100
committerRobin Jarry <robin@jarry.cc>2021-12-11 23:24:08 +0100
commitb331371a6585b6a0cba678b2deba332e470a478b (patch)
tree12d2efafdd6f209eaf0a3ad53dea7d071a24fa35 /lib
parent6857ab7a71d118b6ed85087e0977b9037c1540a2 (diff)
downloadaerc-b331371a6585b6a0cba678b2deba332e470a478b.tar.gz
format: reformat code with go 1.17
There was a change in how build tags are formatted. Use this as new reference. Link: https://go.dev/doc/go1.17#gofmt Signed-off-by: Robin Jarry <robin@jarry.cc>
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