mirror of
https://github.com/golang/go.git
synced 2025-05-23 08:21:24 +00:00
all: add a space before +build in build tag comments
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>
This commit is contained in:
parent
1452119867
commit
033299fab6
@ -2,7 +2,7 @@
|
|||||||
// Use of this source code is governed by a BSD-style
|
// Use of this source code is governed by a BSD-style
|
||||||
// license that can be found in the LICENSE file.
|
// license that can be found in the LICENSE file.
|
||||||
|
|
||||||
//+build testgo
|
// +build testgo
|
||||||
|
|
||||||
package modload
|
package modload
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
// Use of this source code is governed by a BSD-style
|
// Use of this source code is governed by a BSD-style
|
||||||
// license that can be found in the LICENSE file.
|
// license that can be found in the LICENSE file.
|
||||||
|
|
||||||
//+build !plan9
|
// +build !plan9
|
||||||
|
|
||||||
package renameio
|
package renameio
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
// Use of this source code is governed by a BSD-style
|
// Use of this source code is governed by a BSD-style
|
||||||
// license that can be found in the LICENSE file.
|
// license that can be found in the LICENSE file.
|
||||||
|
|
||||||
//+build !nacl,!plan9,!windows,!js
|
// +build !nacl,!plan9,!windows,!js
|
||||||
|
|
||||||
package renameio
|
package renameio
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
// Use of this source code is governed by a BSD-style
|
// Use of this source code is governed by a BSD-style
|
||||||
// license that can be found in the LICENSE file.
|
// license that can be found in the LICENSE file.
|
||||||
|
|
||||||
//+build !windows
|
// +build !windows
|
||||||
|
|
||||||
package robustio
|
package robustio
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
// Use of this source code is governed by a BSD-style
|
// Use of this source code is governed by a BSD-style
|
||||||
// license that can be found in the LICENSE file.
|
// license that can be found in the LICENSE file.
|
||||||
|
|
||||||
//+build !windows
|
// +build !windows
|
||||||
|
|
||||||
package web
|
package web
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
// Use of this source code is governed by a BSD-style
|
// Use of this source code is governed by a BSD-style
|
||||||
// license that can be found in the LICENSE file.
|
// license that can be found in the LICENSE file.
|
||||||
|
|
||||||
//+build !windows
|
// +build !windows
|
||||||
|
|
||||||
package web
|
package web
|
||||||
|
|
||||||
|
@ -4,5 +4,5 @@ env GO111MODULE=off
|
|||||||
stderr 'build comment'
|
stderr 'build comment'
|
||||||
|
|
||||||
-- compile_binary/foo_test.go --
|
-- compile_binary/foo_test.go --
|
||||||
//+build foo
|
// +build foo
|
||||||
package foo
|
package foo
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
// Use of this source code is governed by a BSD-style
|
// Use of this source code is governed by a BSD-style
|
||||||
// license that can be found in the LICENSE file.
|
// license that can be found in the LICENSE file.
|
||||||
|
|
||||||
//+build !nacl,!plan9,!windows,!js
|
// +build !nacl,!plan9,!windows,!js
|
||||||
|
|
||||||
package runtime_test
|
package runtime_test
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user