From b331371a6585b6a0cba678b2deba332e470a478b Mon Sep 17 00:00:00 2001 From: Robin Jarry Date: Sat, 11 Dec 2021 23:20:53 +0100 Subject: 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 --- lib/keepalive_dummy.go | 3 ++- lib/keepalive_linux.go | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'lib') 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 -- cgit 1.4.1-2-gfad0