From 6a610bc55bff057aed1d188757e3d0247a3badf2 Mon Sep 17 00:00:00 2001 From: Dmitri Shuralyov Date: Tue, 10 Oct 2023 18:57:41 -0400 Subject: [PATCH] all: update go directive to 1.18 Done with: go get go@1.18 go mod tidy go fix ./... Using go1.21.3. For golang/go#60268. Change-Id: Ic6a53c8e217966f5f95b3a968b25ef123b4b99cf Reviewed-on: https://go-review.googlesource.com/c/term/+/534475 Auto-Submit: Dmitri Shuralyov Reviewed-by: Ian Lance Taylor LUCI-TryBot-Result: Go LUCI Reviewed-by: Dmitri Shuralyov --- go.mod | 2 +- term_unix.go | 1 - term_unix_bsd.go | 1 - term_unix_other.go | 1 - term_unsupported.go | 1 - 5 files changed, 1 insertion(+), 5 deletions(-) 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