Pull request: all: imp build tags

Updates #2419.

Squashed commit of the following:

commit e57e6ce56c59d4ef42b1716247fe48a86404179e
Author: Ainar Garipov <A.Garipov@AdGuard.COM>
Date:   Tue Jun 15 19:37:15 2021 +0300

    all: imp build tags
This commit is contained in:
Ainar Garipov 2021-06-15 19:42:41 +03:00
parent 4fd7fad2e5
commit 9f5a015f42
33 changed files with 33 additions and 66 deletions

View File

@ -1,6 +1,5 @@
// +build darwin
//go:build darwin //go:build darwin
// +build darwin
package aghnet package aghnet

View File

@ -1,6 +1,5 @@
// +build linux
//go:build linux //go:build linux
// +build linux
package aghnet package aghnet

View File

@ -1,6 +1,5 @@
// +build linux
//go:build linux //go:build linux
// +build linux
package aghnet package aghnet

View File

@ -1,6 +1,5 @@
// +build !linux,!darwin
//go:build !(linux || darwin) //go:build !(linux || darwin)
// +build !linux,!darwin
package aghnet package aghnet

View File

@ -1,6 +1,5 @@
// +build !windows
//go:build !windows //go:build !windows
// +build !windows
package aghnet package aghnet

View File

@ -1,6 +1,5 @@
// +build !windows
//go:build !windows //go:build !windows
// +build !windows
package aghnet package aghnet

View File

@ -1,6 +1,5 @@
// +build windows
//go:build windows //go:build windows
// +build windows
package aghnet package aghnet

View File

@ -1,6 +1,5 @@
// +build windows
//go:build windows //go:build windows
// +build windows
package aghnet package aghnet

View File

@ -1,6 +1,5 @@
// +build mips mips64
//go:build mips || mips64 //go:build mips || mips64
// +build mips mips64
// This file is an adapted version of github.com/josharian/native. // This file is an adapted version of github.com/josharian/native.

View File

@ -1,6 +1,5 @@
// +build amd64 386 arm arm64 mipsle mips64le ppc64le
//go:build amd64 || 386 || arm || arm64 || mipsle || mips64le || ppc64le //go:build amd64 || 386 || arm || arm64 || mipsle || mips64le || ppc64le
// +build amd64 386 arm arm64 mipsle mips64le ppc64le
// This file is an adapted version of github.com/josharian/native. // This file is an adapted version of github.com/josharian/native.

View File

@ -1,6 +1,5 @@
// +build darwin netbsd openbsd
//go:build darwin || netbsd || openbsd //go:build darwin || netbsd || openbsd
// +build darwin netbsd openbsd
package aghos package aghos

View File

@ -1,6 +1,5 @@
// +build freebsd
//go:build freebsd //go:build freebsd
// +build freebsd
package aghos package aghos

View File

@ -1,6 +1,5 @@
// +build linux
//go:build linux //go:build linux
// +build linux
package aghos package aghos

View File

@ -1,6 +1,5 @@
// +build windows
//go:build windows //go:build windows
// +build windows
package aghos package aghos

View File

@ -1,6 +1,5 @@
// +build !windows,!plan9
//go:build !(windows || plan9) //go:build !(windows || plan9)
// +build !windows,!plan9
package aghos package aghos

View File

@ -1,6 +1,5 @@
// +build windows plan9
//go:build windows || plan9 //go:build windows || plan9
// +build windows plan9
package aghos package aghos

View File

@ -1,6 +1,5 @@
// +build darwin freebsd linux netbsd openbsd
//go:build darwin || freebsd || linux || netbsd || openbsd //go:build darwin || freebsd || linux || netbsd || openbsd
// +build darwin freebsd linux netbsd openbsd
package aghos package aghos

View File

@ -1,6 +1,5 @@
// +build windows
//go:build windows //go:build windows
// +build windows
package aghos package aghos

View File

@ -1,6 +1,5 @@
// +build aix darwin dragonfly freebsd linux netbsd openbsd solaris
//go:build aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris //go:build aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris
// +build aix darwin dragonfly freebsd linux netbsd openbsd solaris
package dhcpd package dhcpd

View File

@ -1,6 +1,5 @@
// +build windows
//go:build windows //go:build windows
// +build windows
package dhcpd package dhcpd

View File

@ -1,6 +1,5 @@
// +build aix darwin dragonfly freebsd linux netbsd openbsd solaris
//go:build aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris //go:build aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris
// +build aix darwin dragonfly freebsd linux netbsd openbsd solaris
package dhcpd package dhcpd

View File

@ -1,6 +1,5 @@
// +build windows
//go:build windows //go:build windows
// +build windows
package dhcpd package dhcpd

View File

@ -1,6 +1,5 @@
// +build aix darwin dragonfly freebsd linux netbsd openbsd solaris
//go:build aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris //go:build aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris
// +build aix darwin dragonfly freebsd linux netbsd openbsd solaris
package dhcpd package dhcpd

View File

@ -1,6 +1,5 @@
// +build windows
//go:build windows //go:build windows
// +build windows
package dhcpd package dhcpd

View File

@ -1,6 +1,5 @@
// +build aix darwin dragonfly freebsd linux netbsd openbsd solaris
//go:build aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris //go:build aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris
// +build aix darwin dragonfly freebsd linux netbsd openbsd solaris
package dhcpd package dhcpd

View File

@ -1,6 +1,5 @@
// +build aix darwin dragonfly freebsd linux netbsd openbsd solaris
//go:build aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris //go:build aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris
// +build aix darwin dragonfly freebsd linux netbsd openbsd solaris
package dhcpd package dhcpd

View File

@ -1,6 +1,5 @@
// +build aix darwin dragonfly freebsd linux netbsd openbsd solaris
//go:build aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris //go:build aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris
// +build aix darwin dragonfly freebsd linux netbsd openbsd solaris
package dhcpd package dhcpd

View File

@ -1,6 +1,5 @@
// +build linux
//go:build linux //go:build linux
// +build linux
package dnsforward package dnsforward

View File

@ -1,6 +1,5 @@
// +build !linux
//go:build !linux //go:build !linux
// +build !linux
package dnsforward package dnsforward

View File

@ -1,6 +1,5 @@
// +build ignore
//go:build ignore //go:build ignore
// +build ignore
package filtering package filtering

View File

@ -1,6 +1,5 @@
// +build tools
//go:build tools //go:build tools
// +build tools
package tools package tools

View File

@ -1,6 +1,5 @@
// +build !race
//go:build !race //go:build !race
// +build !race
package version package version

View File

@ -1,6 +1,5 @@
// +build race
//go:build race //go:build race
// +build race
package version package version