runtime, time: gofmt

Change-Id: Ib36a5f239db5af497aae122eba049c15d0d4c4a8
Reviewed-on: https://go-review.googlesource.com/c/go/+/235139
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
diff --git a/src/runtime/sizeof_test.go b/src/runtime/sizeof_test.go
index d615690..736e848 100644
--- a/src/runtime/sizeof_test.go
+++ b/src/runtime/sizeof_test.go
@@ -21,7 +21,7 @@
 		_32bit uintptr     // size on 32bit platforms
 		_64bit uintptr     // size on 64bit platforms
 	}{
-		{runtime.G{}, 216, 376}, // g, but exported for testing
+		{runtime.G{}, 216, 376},   // g, but exported for testing
 		{runtime.Sudog{}, 56, 88}, // sudog, but exported for testing
 	}
 
diff --git a/src/runtime/testdata/testprog/lockosthread.go b/src/runtime/testdata/testprog/lockosthread.go
index 098cc4d..e9d7fdb 100644
--- a/src/runtime/testdata/testprog/lockosthread.go
+++ b/src/runtime/testdata/testprog/lockosthread.go
@@ -220,7 +220,7 @@
 	}()
 
 	// Try to synchronize both LockOSThreads.
-	start := time.Now().Add(10*time.Millisecond)
+	start := time.Now().Add(10 * time.Millisecond)
 
 	var wg sync.WaitGroup
 	wg.Add(2)
@@ -232,10 +232,10 @@
 
 			// Add work to the local runq to trigger early startm
 			// in handoffp.
-			go func(){}()
+			go func() {}()
 
 			runtime.LockOSThread()
-			runtime.Gosched()  // add a preemption point.
+			runtime.Gosched() // add a preemption point.
 			wg.Done()
 		}()
 	}
diff --git a/src/time/example_test.go b/src/time/example_test.go
index 0f9b874..0afb18a 100644
--- a/src/time/example_test.go
+++ b/src/time/example_test.go
@@ -51,7 +51,7 @@
 
 func ExampleDuration_String() {
 	fmt.Println(1*time.Hour + 2*time.Minute + 300*time.Millisecond)
-	fmt.Println(300*time.Millisecond)
+	fmt.Println(300 * time.Millisecond)
 	// Output:
 	// 1h2m0.3s
 	// 300ms