summaryrefslogtreecommitdiffhomepage
path: root/pkg/gohacks
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/gohacks')
-rw-r--r--pkg/gohacks/gohacks_unsafe.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/gohacks/gohacks_unsafe.go b/pkg/gohacks/gohacks_unsafe.go
index 374aac2b4..09fc14787 100644
--- a/pkg/gohacks/gohacks_unsafe.go
+++ b/pkg/gohacks/gohacks_unsafe.go
@@ -12,8 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-// +build go1.13
-// +build !go1.18
+//go:build go1.13 && !go1.18
+// +build go1.13,!go1.18
// Check type signatures when updating Go version.