diff options
author | Robin Jarry <robin@jarry.cc> | 2021-12-11 23:20:53 +0100 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2021-12-11 23:24:08 +0100 |
commit | b331371a6585b6a0cba678b2deba332e470a478b (patch) | |
tree | 12d2efafdd6f209eaf0a3ad53dea7d071a24fa35 /lib | |
parent | 6857ab7a71d118b6ed85087e0977b9037c1540a2 (diff) | |
download | aerc-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.go | 3 | ||||
-rw-r--r-- | lib/keepalive_linux.go | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/lib/keepalive_dummy.go b/lib/keepalive_dummy.go index 205b577..d455a42 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 0dc3285..4811338 100644 --- a/lib/keepalive_linux.go +++ b/lib/keepalive_linux.go @@ -1,4 +1,5 @@ -//+build linux +//go:build linux +// +build linux package lib |