diff --git a/go.mod b/go.mod index 30adbb4..2d0afe5 100644 --- a/go.mod +++ b/go.mod @@ -1,5 +1,5 @@ module golang.org/x/term -go 1.17 +go 1.18 require golang.org/x/sys v0.13.0 diff --git a/term_unix.go b/term_unix.go index 62c2b3f..1ad0ddf 100644 --- a/term_unix.go +++ b/term_unix.go @@ -3,7 +3,6 @@ // license that can be found in the LICENSE file. //go:build aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris || zos -// +build aix darwin dragonfly freebsd linux netbsd openbsd solaris zos package term diff --git a/term_unix_bsd.go b/term_unix_bsd.go index 853b3d6..9dbf546 100644 --- a/term_unix_bsd.go +++ b/term_unix_bsd.go @@ -3,7 +3,6 @@ // license that can be found in the LICENSE file. //go:build darwin || dragonfly || freebsd || netbsd || openbsd -// +build darwin dragonfly freebsd netbsd openbsd package term diff --git a/term_unix_other.go b/term_unix_other.go index 1e8955c..1b36de7 100644 --- a/term_unix_other.go +++ b/term_unix_other.go @@ -3,7 +3,6 @@ // license that can be found in the LICENSE file. //go:build aix || linux || solaris || zos -// +build aix linux solaris zos package term diff --git a/term_unsupported.go b/term_unsupported.go index f1df850..3c409e5 100644 --- a/term_unsupported.go +++ b/term_unsupported.go @@ -3,7 +3,6 @@ // license that can be found in the LICENSE file. //go:build !aix && !darwin && !dragonfly && !freebsd && !linux && !netbsd && !openbsd && !zos && !windows && !solaris && !plan9 -// +build !aix,!darwin,!dragonfly,!freebsd,!linux,!netbsd,!openbsd,!zos,!windows,!solaris,!plan9 package term