From 5fedbe4c6e5795551c62c2a5891e62434c4b04ea Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Thu, 23 Sep 2021 19:16:26 +0200 Subject: [PATCH] // +build -> //go:build --- dnscrypt-proxy/fuzzing_test.go | 1 + dnscrypt-proxy/netprobe_others.go | 1 + dnscrypt-proxy/privilege_others.go | 1 + dnscrypt-proxy/service_android.go | 1 + dnscrypt-proxy/service_linux.go | 1 + dnscrypt-proxy/service_others.go | 1 + dnscrypt-proxy/setsockopts_others.go | 1 + dnscrypt-proxy/systemd_free.go | 1 + dnscrypt-proxy/systemd_linux.go | 1 + dnscrypt-proxy/timezone_others.go | 1 + 10 files changed, 10 insertions(+) diff --git a/dnscrypt-proxy/fuzzing_test.go b/dnscrypt-proxy/fuzzing_test.go index 75895496..a29f0d39 100644 --- a/dnscrypt-proxy/fuzzing_test.go +++ b/dnscrypt-proxy/fuzzing_test.go @@ -1,3 +1,4 @@ +//go:build gofuzzbeta // +build gofuzzbeta package main diff --git a/dnscrypt-proxy/netprobe_others.go b/dnscrypt-proxy/netprobe_others.go index ace17ce5..1745b46f 100644 --- a/dnscrypt-proxy/netprobe_others.go +++ b/dnscrypt-proxy/netprobe_others.go @@ -1,3 +1,4 @@ +//go:build !windows // +build !windows package main diff --git a/dnscrypt-proxy/privilege_others.go b/dnscrypt-proxy/privilege_others.go index ebd9783f..78f01e03 100644 --- a/dnscrypt-proxy/privilege_others.go +++ b/dnscrypt-proxy/privilege_others.go @@ -1,3 +1,4 @@ +//go:build !windows && !linux // +build !windows,!linux package main diff --git a/dnscrypt-proxy/service_android.go b/dnscrypt-proxy/service_android.go index 34d6b799..3a73dcc8 100644 --- a/dnscrypt-proxy/service_android.go +++ b/dnscrypt-proxy/service_android.go @@ -1,3 +1,4 @@ +//go:build android // +build android package main diff --git a/dnscrypt-proxy/service_linux.go b/dnscrypt-proxy/service_linux.go index 501226f2..9851f8da 100644 --- a/dnscrypt-proxy/service_linux.go +++ b/dnscrypt-proxy/service_linux.go @@ -1,3 +1,4 @@ +//go:build !android // +build !android package main diff --git a/dnscrypt-proxy/service_others.go b/dnscrypt-proxy/service_others.go index 3396c4b9..38935794 100644 --- a/dnscrypt-proxy/service_others.go +++ b/dnscrypt-proxy/service_others.go @@ -1,3 +1,4 @@ +//go:build !linux && !windows // +build !linux,!windows package main diff --git a/dnscrypt-proxy/setsockopts_others.go b/dnscrypt-proxy/setsockopts_others.go index a1b288fc..9bc119e6 100644 --- a/dnscrypt-proxy/setsockopts_others.go +++ b/dnscrypt-proxy/setsockopts_others.go @@ -1,3 +1,4 @@ +//go:build !freebsd && !openbsd && !windows && !darwin && !linux // +build !freebsd,!openbsd,!windows,!darwin,!linux package main diff --git a/dnscrypt-proxy/systemd_free.go b/dnscrypt-proxy/systemd_free.go index ae6f99e5..79e8838e 100644 --- a/dnscrypt-proxy/systemd_free.go +++ b/dnscrypt-proxy/systemd_free.go @@ -1,3 +1,4 @@ +//go:build !linux // +build !linux package main diff --git a/dnscrypt-proxy/systemd_linux.go b/dnscrypt-proxy/systemd_linux.go index 44e83157..d8615cb0 100644 --- a/dnscrypt-proxy/systemd_linux.go +++ b/dnscrypt-proxy/systemd_linux.go @@ -1,3 +1,4 @@ +//go:build !android // +build !android package main diff --git a/dnscrypt-proxy/timezone_others.go b/dnscrypt-proxy/timezone_others.go index e069c42e..5c26e855 100644 --- a/dnscrypt-proxy/timezone_others.go +++ b/dnscrypt-proxy/timezone_others.go @@ -1,3 +1,4 @@ +//go:build !android // +build !android package main