]> Cypherpunks repositories - gostls13.git/commitdiff
all: add a space before +build in build tag comments
authorTobias Klauser <tklauser@distanz.ch>
Wed, 4 Sep 2019 09:40:03 +0000 (11:40 +0200)
committerTobias Klauser <tobias.klauser@gmail.com>
Wed, 4 Sep 2019 15:10:03 +0000 (15:10 +0000)
Add a space before build tag comments so it corresponds to the format
documented at https://golang.org/pkg/go/build/.

Change-Id: I8349d0343597e304b97fb5479847231ed8945b1a
Reviewed-on: https://go-review.googlesource.com/c/go/+/193237
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Daniel Martí <mvdan@mvdan.cc>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/cmd/go/internal/modload/testgo.go
src/cmd/go/internal/renameio/renameio_test.go
src/cmd/go/internal/renameio/umask_test.go
src/cmd/go/internal/robustio/robustio_other.go
src/cmd/go/internal/web/url_other.go
src/cmd/go/internal/web/url_other_test.go
src/cmd/go/testdata/script/test_compile_binary.txt
src/runtime/semasleep_test.go

index 663b24a68d7924a37d3f6dbc85afc8c59e000af7..6b34f5be39367a381b3dc7a7b9fee49ed2c0ffc4 100644 (file)
@@ -2,7 +2,7 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
-//+build testgo
+// +build testgo
 
 package modload
 
index 81dba6d5451d086a0cbdf39d94a0cec4f535f794..ace6e493cb4ee094157fe8a9414ea838bc795f32 100644 (file)
@@ -2,7 +2,7 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
-//+build !plan9
+// +build !plan9
 
 package renameio
 
index 1a471c9e4e644865f3b06cdf21b87448182462bd..031fe46e09f9fc663765920eac2ea6f22588f764 100644 (file)
@@ -2,7 +2,7 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
-//+build !nacl,!plan9,!windows,!js
+// +build !nacl,!plan9,!windows,!js
 
 package renameio
 
index 91ca56cb82cae11f8a79404e78b3ae7757f2afe1..56e6ad6d9c8f293372383797527339721c64e2e6 100644 (file)
@@ -2,7 +2,7 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
-//+build !windows
+// +build !windows
 
 package robustio
 
index bd243e591a9c796e60df2e61e6fd6dcecffc8716..2641ee62bfa5518b7d4500f9df55ffa8207afe3c 100644 (file)
@@ -2,7 +2,7 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
-//+build !windows
+// +build !windows
 
 package web
 
index b4a74d94b93e0508ff8c134121e9e027fde84c15..aa5663355efb9c262012ed3b31d7954a73c6bc75 100644 (file)
@@ -2,7 +2,7 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
-//+build !windows
+// +build !windows
 
 package web
 
index 6562f2453ff4100ac5ebac63fa4429459bd88918..63bb8ec3e78149ea2d80589304deec75131b97ca 100644 (file)
@@ -4,5 +4,5 @@ env GO111MODULE=off
 stderr 'build comment'
 
 -- compile_binary/foo_test.go --
-//+build foo
+// +build foo
 package foo
index f5b4a50697205948022081de7ba20933670c28ef..3eb7c6a6d1415ebef8aa3115f081c13a41a8f897 100644 (file)
@@ -2,7 +2,7 @@
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.
 
-//+build !nacl,!plan9,!windows,!js
+// +build !nacl,!plan9,!windows,!js
 
 package runtime_test