From: Jes Cok Date: Tue, 21 Oct 2025 17:25:19 +0000 (+0000) Subject: all: gofmt -w X-Git-Tag: go1.26rc1~544 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=261c561f5abc7cc6a9db62558b788580c306e69a;p=gostls13.git all: gofmt -w Change-Id: Iae74ac910d9db035bb2b726b2128aac09f5b7aae GitHub-Last-Rev: 7aab5fa8e76df87766e903d7a689ed257d986558 GitHub-Pull-Request: golang/go#75993 Reviewed-on: https://go-review.googlesource.com/c/go/+/713540 LUCI-TryBot-Result: Go LUCI Reviewed-by: Dmitri Shuralyov Auto-Submit: Dmitri Shuralyov Reviewed-by: Dmitri Shuralyov Reviewed-by: David Chase --- diff --git a/src/cmd/cgo/internal/testout/out_test.go b/src/cmd/cgo/internal/testout/out_test.go index 81dfa36587..e8ea5092a3 100644 --- a/src/cmd/cgo/internal/testout/out_test.go +++ b/src/cmd/cgo/internal/testout/out_test.go @@ -8,8 +8,8 @@ import ( "bufio" "bytes" "fmt" - "internal/testenv" "internal/goarch" + "internal/testenv" "os" "path/filepath" "regexp" diff --git a/src/runtime/os_linux_settime32.go b/src/runtime/os_linux_settime32.go index 6df7f21dc9..30f95455bf 100644 --- a/src/runtime/os_linux_settime32.go +++ b/src/runtime/os_linux_settime32.go @@ -27,8 +27,8 @@ func timer_settime(timerid int32, flags int32, new, old *itimerspec) int32 { timer32bitOnly.Store(true) } - var newts,oldts itimerspec32 - var new32,old32 *itimerspec32 + var newts, oldts itimerspec32 + var new32, old32 *itimerspec32 if new != nil { newts.it_interval.setNsec(new.it_interval.tv_sec*1e9 + new.it_interval.tv_nsec) diff --git a/src/testing/fstest/testfs_test.go b/src/testing/fstest/testfs_test.go index e3d7f1ab44..a0561b6dfc 100644 --- a/src/testing/fstest/testfs_test.go +++ b/src/testing/fstest/testfs_test.go @@ -105,7 +105,7 @@ func TestTestFSWrappedErrors(t *testing.T) { // TestFS is expected to return a list of errors. // Enforce that the list can be extracted for browsing. - type wrapper interface{ + type wrapper interface { error Unwrap() []error }