diff options
| author | Grégoire Duchêne <gduchene@awhk.org> | 2023-04-23 13:52:18 +0100 |
|---|---|---|
| committer | Grégoire Duchêne <gduchene@awhk.org> | 2023-04-23 13:52:18 +0100 |
| commit | 6bd892a366f6c5fdece730e757bba38021b66aa4 (patch) | |
| tree | 972a37647070ee86622194ce8b2511ffbdb3004b | |
| parent | e26145a8c7427b6434d773020ef0f136de68ce98 (diff) | |
Switch to modern Go build constraints
| -rw-r--r-- | socket_dummy.go | 2 | ||||
| -rw-r--r-- | 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 <gduchene@awhk.org> // 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 <gduchene@awhk.org> // SPDX-License-Identifier: ISC -// +build linux,!nosystemd +//go:build linux && !nosystemd package gosdd |
