Removed obsolete +build directives in favor of modern go:build

This commit is contained in:
Cristian Maglie
2023-08-09 18:54:02 +02:00
parent 75c59a9418
commit 93097bf495
6 changed files with 7 additions and 10 deletions

View File

@@ -1,12 +1,11 @@
// +build darwin
// +build amd64 arm64
//
// Copyright 2014-2021 Cristian Maglie. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
//
//go:build darwin && (amd64 || arm64)
package serial
import "golang.org/x/sys/unix"