Skip to content

Commit 2363391

Browse files
committed
all: go fmt ./...
Part of //go:build change (#41184). See https://golang.org/design/draft-gobuild Not strictly necessary but will avoid gofmt changes later as people edit these files. Change-Id: I20749ed82e18938a305d9425d0739f0ea7bd24c0 Reviewed-on: https://go-review.googlesource.com/c/tools/+/294414 Trust: Russ Cox <[email protected]> Run-TryBot: Russ Cox <[email protected]> gopls-CI: kokoro <[email protected]> Reviewed-by: Robert Griesemer <[email protected]> Reviewed-by: Jason A. Donenfeld <[email protected]> Reviewed-by: Ian Lance Taylor <[email protected]> TryBot-Result: Go Bot <[email protected]>
1 parent b369640 commit 2363391

File tree

75 files changed

+78
-6
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

75 files changed

+78
-6
lines changed

cmd/callgraph/main_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44

55
// No testdata on Android.
66

7-
// +build !android
8-
// +build go1.11
7+
//go:build !android && go1.11
8+
// +build !android,go1.11
99

1010
package main
1111

cmd/cover/cover_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
// No testdata on Android.
66

7+
//go:build !android
78
// +build !android
89

910
package main_test

cmd/fiximports/main_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
// No testdata on Android.
66

7+
//go:build !android
78
// +build !android
89

910
package main

cmd/getgo/download.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
// Use of this source code is governed by a BSD-style
33
// license that can be found in the LICENSE file.
44

5+
//go:build !plan9
56
// +build !plan9
67

78
package main

cmd/getgo/download_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
// Use of this source code is governed by a BSD-style
33
// license that can be found in the LICENSE file.
44

5+
//go:build !plan9
56
// +build !plan9
67

78
package main

cmd/getgo/main.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
// Use of this source code is governed by a BSD-style
33
// license that can be found in the LICENSE file.
44

5+
//go:build !plan9
56
// +build !plan9
67

78
// The getgo command installs Go to the user's system.

cmd/getgo/main_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
// Use of this source code is governed by a BSD-style
33
// license that can be found in the LICENSE file.
44

5+
//go:build !plan9
56
// +build !plan9
67

78
package main

cmd/getgo/path.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
// Use of this source code is governed by a BSD-style
33
// license that can be found in the LICENSE file.
44

5+
//go:build !plan9
56
// +build !plan9
67

78
package main

cmd/getgo/path_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
// Use of this source code is governed by a BSD-style
33
// license that can be found in the LICENSE file.
44

5+
//go:build !plan9
56
// +build !plan9
67

78
package main

cmd/getgo/steps.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
// Use of this source code is governed by a BSD-style
33
// license that can be found in the LICENSE file.
44

5+
//go:build !plan9
56
// +build !plan9
67

78
package main

0 commit comments

Comments
 (0)