aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJes Cok <xigua67damn@gmail.com>2025-10-21 17:25:19 +0000
committerGopher Robot <gobot@golang.org>2025-10-21 13:14:55 -0700
commit261c561f5abc7cc6a9db62558b788580c306e69a (patch)
treea15d05b19971c14a03bfda62a274de02da071974 /src
parentc9c78c06ef4eac034c99efedfb4d23a3d51c1d6c (diff)
downloadgo-261c561f5abc7cc6a9db62558b788580c306e69a.tar.xz
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 <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org> Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> Reviewed-by: David Chase <drchase@google.com>
Diffstat (limited to 'src')
-rw-r--r--src/cmd/cgo/internal/testout/out_test.go2
-rw-r--r--src/runtime/os_linux_settime32.go4
-rw-r--r--src/testing/fstest/testfs_test.go2
3 files changed, 4 insertions, 4 deletions
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
}