diff --git a/cmds/portmaster-start/console_default.go b/cmds/portmaster-start/console_default.go index 8a29fbb6..f11a9fae 100644 --- a/cmds/portmaster-start/console_default.go +++ b/cmds/portmaster-start/console_default.go @@ -1,4 +1,4 @@ -// go:build !windows +//go:build !windows package main diff --git a/core/os_default.go b/core/os_default.go index f00ffa01..976a059d 100644 --- a/core/os_default.go +++ b/core/os_default.go @@ -1,4 +1,4 @@ -// go:build !windows +//go:build !windows package core diff --git a/firewall/interception/nfq/nfq.go b/firewall/interception/nfq/nfq.go index 3bd59307..820b7847 100644 --- a/firewall/interception/nfq/nfq.go +++ b/firewall/interception/nfq/nfq.go @@ -1,4 +1,4 @@ -// go:build linux +//go:build linux // Package nfq contains a nfqueue library experiment. package nfq diff --git a/firewall/interception/nfq/packet.go b/firewall/interception/nfq/packet.go index ff5d7a27..46ca3ea5 100644 --- a/firewall/interception/nfq/packet.go +++ b/firewall/interception/nfq/packet.go @@ -1,4 +1,4 @@ -// go:build linux +//go:build linux package nfq diff --git a/netenv/dbus_linux.go b/netenv/dbus_linux.go index 9cc63c28..730cb564 100644 --- a/netenv/dbus_linux.go +++ b/netenv/dbus_linux.go @@ -1,4 +1,4 @@ -// go:build !server +//go:build !server package netenv diff --git a/netenv/location_default.go b/netenv/location_default.go index 1581c6a9..c1dead09 100644 --- a/netenv/location_default.go +++ b/netenv/location_default.go @@ -1,4 +1,4 @@ -// go:build !windows +//go:build !windows package netenv diff --git a/network/proc/findpid.go b/network/proc/findpid.go index 1178eae8..3cfb7930 100644 --- a/network/proc/findpid.go +++ b/network/proc/findpid.go @@ -1,4 +1,4 @@ -// go:build linux +//go:build linux package proc diff --git a/network/proc/pids_by_user.go b/network/proc/pids_by_user.go index 4d32a481..662d2a07 100644 --- a/network/proc/pids_by_user.go +++ b/network/proc/pids_by_user.go @@ -1,4 +1,4 @@ -// go:build linux +//go:build linux package proc diff --git a/network/proc/tables.go b/network/proc/tables.go index 36c9b844..af720b2a 100644 --- a/network/proc/tables.go +++ b/network/proc/tables.go @@ -1,4 +1,4 @@ -// go:build linux +//go:build linux package proc diff --git a/network/proc/tables_test.go b/network/proc/tables_test.go index 5f4c4758..1a9f175e 100644 --- a/network/proc/tables_test.go +++ b/network/proc/tables_test.go @@ -1,4 +1,4 @@ -// go:build linux +//go:build linux package proc