The Go toolchain infers constraints from _darwin/_linux filename suffixes, but explicit //go:build tags make the constraint visible without relying on filename conventions, consistent with modern Go style. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
7 lines
109 B
Go
7 lines
109 B
Go
//go:build linux
|
|
|
|
package prompter_test
|
|
|
|
import "golang.org/x/sys/unix"
|
|
|
|
const ioctlGetTermios = unix.TCGETS
|