From 3c466dfea4db91202ec397502f50d119e0d72d47 Mon Sep 17 00:00:00 2001 From: ChaiShushan Date: Mon, 25 Aug 2014 20:01:43 -0700 Subject: [PATCH] cmd/go: add missing doc for GOOS and GOARCH LGTM=r R=golang-codereviews, r CC=golang-codereviews https://golang.org/cl/133900043 --- src/cmd/go/doc.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/cmd/go/doc.go b/src/cmd/go/doc.go index 19fe5cd3efa..0d4e2638919 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