From: ChaiShushan Date: Tue, 26 Aug 2014 03:01:43 +0000 (-0700) Subject: cmd/go: add missing doc for GOOS and GOARCH X-Git-Tag: go1.4beta1~695 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=3c466dfea4db91202ec397502f50d119e0d72d47;p=gostls13.git cmd/go: add missing doc for GOOS and GOARCH LGTM=r R=golang-codereviews, r CC=golang-codereviews https://golang.org/cl/133900043 --- diff --git a/src/cmd/go/doc.go b/src/cmd/go/doc.go index 19fe5cd3ef..0d4e263891 100644 --- a/src/cmd/go/doc.go +++ b/src/cmd/go/doc.go @@ -250,6 +250,10 @@ quoted string appears a single argument to the generator. Go generate sets several variables when it runs the generator: + $GOARCH + The execution architecture (arm, amd64, etc.) + $GOOS + The execution operating system (linux, windows, etc.) $GOFILE The base name of the file. $GOPACKAGE