aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/internal/sys/sys.go
diff options
context:
space:
mode:
authorMarvin Stenger <marvin.stenger94@gmail.com>2017-08-30 13:52:12 +0200
committerIan Lance Taylor <iant@golang.org>2017-08-30 17:52:36 +0000
commit0592a1a3de99fd5e862092332063daeb3158363e (patch)
tree1d29e64f9805f493d641173cb2648390704c9800 /src/runtime/internal/sys/sys.go
parent2915e44dac0b51bf2ce35900532d5af65288aadb (diff)
downloadgo-0592a1a3de99fd5e862092332063daeb3158363e.tar.xz
runtime/internal/sys: use standard generated code header
This change implements the convention for generated code header agreed upon in https://golang.org/s/generatedcode. Additionally run go generate. Also update some comments. Updates #13560 Change-Id: If45f91b93aaa0d43280c2c4630823bc4d2dc7d3a Reviewed-on: https://go-review.googlesource.com/60250 Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/runtime/internal/sys/sys.go')
-rw-r--r--src/runtime/internal/sys/sys.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/runtime/internal/sys/sys.go b/src/runtime/internal/sys/sys.go
index 586a763717..9d9ac4507f 100644
--- a/src/runtime/internal/sys/sys.go
+++ b/src/runtime/internal/sys/sys.go
@@ -6,9 +6,9 @@
// constants used by the runtime.
package sys
-// The next line makes 'go generate' write the zgen_*.go files with
+// The next line makes 'go generate' write the zgo*.go files with
// per-OS and per-arch information, including constants
-// named goos_$GOOS and goarch_$GOARCH for every
+// named Goos$GOOS and Goarch$GOARCH for every
// known GOOS and GOARCH. The constant is 1 on the
// current system, 0 otherwise; multiplying by them is
// useful for defining GOOS- or GOARCH-specific constants.