From 6bd892a366f6c5fdece730e757bba38021b66aa4 Mon Sep 17 00:00:00 2001 From: Grégoire Duchêne Date: Sun, 23 Apr 2023 13:52:18 +0100 Subject: Switch to modern Go build constraints --- socket_dummy.go | 2 +- socket_linux.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/socket_dummy.go b/socket_dummy.go index 7b21c82..bf588ba 100644 --- a/socket_dummy.go +++ b/socket_dummy.go @@ -1,7 +1,7 @@ // SPDX-FileCopyrightText: © 2021 Grégoire Duchêne // SPDX-License-Identifier: ISC -// +build !linux nosystemd +//go:build !linux || nosystemd package gosdd diff --git a/socket_linux.go b/socket_linux.go index cab9701..0c21186 100644 --- a/socket_linux.go +++ b/socket_linux.go @@ -1,7 +1,7 @@ // SPDX-FileCopyrightText: © 2021 Grégoire Duchêne // SPDX-License-Identifier: ISC -// +build linux,!nosystemd +//go:build linux && !nosystemd package gosdd -- cgit v1.2.3-70-g09d2