diff options
Diffstat (limited to 'plugin')
-rw-r--r-- | plugin/cache/fuzz.go | 2 | ||||
-rw-r--r-- | plugin/chaos/fuzz.go | 2 | ||||
-rw-r--r-- | plugin/etcd/cname_test.go | 2 | ||||
-rw-r--r-- | plugin/etcd/group_test.go | 2 | ||||
-rw-r--r-- | plugin/etcd/lookup_test.go | 2 | ||||
-rw-r--r-- | plugin/etcd/multi_test.go | 2 | ||||
-rw-r--r-- | plugin/etcd/other_test.go | 2 | ||||
-rw-r--r-- | plugin/etcd/setup_test.go | 2 | ||||
-rw-r--r-- | plugin/file/fuzz.go | 2 | ||||
-rw-r--r-- | plugin/forward/fuzz.go | 2 | ||||
-rw-r--r-- | plugin/pkg/reuseport/listen_no_reuseport.go | 2 | ||||
-rw-r--r-- | plugin/pkg/reuseport/listen_reuseport.go | 3 | ||||
-rw-r--r-- | plugin/rewrite/fuzz.go | 2 | ||||
-rw-r--r-- | plugin/whoami/fuzz.go | 2 |
14 files changed, 14 insertions, 15 deletions
diff --git a/plugin/cache/fuzz.go b/plugin/cache/fuzz.go index 18e98fa9f..43f4d2604 100644 --- a/plugin/cache/fuzz.go +++ b/plugin/cache/fuzz.go @@ -1,4 +1,4 @@ -// +build gofuzz +//go:build gofuzz package cache diff --git a/plugin/chaos/fuzz.go b/plugin/chaos/fuzz.go index 53667f2cd..001cf1dee 100644 --- a/plugin/chaos/fuzz.go +++ b/plugin/chaos/fuzz.go @@ -1,4 +1,4 @@ -// +build gofuzz +//go:build gofuzz package chaos diff --git a/plugin/etcd/cname_test.go b/plugin/etcd/cname_test.go index a7d45d510..045a775f8 100644 --- a/plugin/etcd/cname_test.go +++ b/plugin/etcd/cname_test.go @@ -1,4 +1,4 @@ -// +build etcd +//go:build etcd package etcd diff --git a/plugin/etcd/group_test.go b/plugin/etcd/group_test.go index d5c846238..831bdc2d5 100644 --- a/plugin/etcd/group_test.go +++ b/plugin/etcd/group_test.go @@ -1,4 +1,4 @@ -// +build etcd +//go:build etcd package etcd diff --git a/plugin/etcd/lookup_test.go b/plugin/etcd/lookup_test.go index 10008ae6a..ef26d182d 100644 --- a/plugin/etcd/lookup_test.go +++ b/plugin/etcd/lookup_test.go @@ -1,4 +1,4 @@ -// +build etcd +//go:build etcd package etcd diff --git a/plugin/etcd/multi_test.go b/plugin/etcd/multi_test.go index 1efce1861..7993a25db 100644 --- a/plugin/etcd/multi_test.go +++ b/plugin/etcd/multi_test.go @@ -1,4 +1,4 @@ -// +build etcd +//go:build etcd package etcd diff --git a/plugin/etcd/other_test.go b/plugin/etcd/other_test.go index 1a69bd617..a71260ff4 100644 --- a/plugin/etcd/other_test.go +++ b/plugin/etcd/other_test.go @@ -1,4 +1,4 @@ -// +build etcd +//go:build etcd // tests mx and txt records diff --git a/plugin/etcd/setup_test.go b/plugin/etcd/setup_test.go index 219563664..4922641bb 100644 --- a/plugin/etcd/setup_test.go +++ b/plugin/etcd/setup_test.go @@ -1,4 +1,4 @@ -// +build etcd +//go:build etcd package etcd diff --git a/plugin/file/fuzz.go b/plugin/file/fuzz.go index e693f58bf..9c59ab8da 100644 --- a/plugin/file/fuzz.go +++ b/plugin/file/fuzz.go @@ -1,4 +1,4 @@ -// +build gofuzz +//go:build gofuzz package file diff --git a/plugin/forward/fuzz.go b/plugin/forward/fuzz.go index d07b1345b..bec573e47 100644 --- a/plugin/forward/fuzz.go +++ b/plugin/forward/fuzz.go @@ -1,4 +1,4 @@ -// +build gofuzz +//go:build gofuzz package forward diff --git a/plugin/pkg/reuseport/listen_no_reuseport.go b/plugin/pkg/reuseport/listen_no_reuseport.go index e3bdfb906..1018a9b10 100644 --- a/plugin/pkg/reuseport/listen_no_reuseport.go +++ b/plugin/pkg/reuseport/listen_no_reuseport.go @@ -1,4 +1,4 @@ -// +build !go1.11 !aix,!darwin,!dragonfly,!freebsd,!linux,!netbsd,!openbsd +//go:build !go1.11 || (!aix && !darwin && !dragonfly && !freebsd && !linux && !netbsd && !openbsd) package reuseport diff --git a/plugin/pkg/reuseport/listen_reuseport.go b/plugin/pkg/reuseport/listen_reuseport.go index fa6f365d6..71fac3e76 100644 --- a/plugin/pkg/reuseport/listen_reuseport.go +++ b/plugin/pkg/reuseport/listen_reuseport.go @@ -1,5 +1,4 @@ -// +build go1.11 -// +build aix darwin dragonfly freebsd linux netbsd openbsd +//go:build go1.11 && (aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd) package reuseport diff --git a/plugin/rewrite/fuzz.go b/plugin/rewrite/fuzz.go index 8149d1c09..8e44ebb59 100644 --- a/plugin/rewrite/fuzz.go +++ b/plugin/rewrite/fuzz.go @@ -1,4 +1,4 @@ -// +build gofuzz +//go:build gofuzz package rewrite diff --git a/plugin/whoami/fuzz.go b/plugin/whoami/fuzz.go index 70f2bd602..0525398d9 100644 --- a/plugin/whoami/fuzz.go +++ b/plugin/whoami/fuzz.go @@ -1,4 +1,4 @@ -// +build gofuzz +//go:build gofuzz package whoami |