Commit 3c466dfe authored by ChaiShushan's avatar ChaiShushan Committed by Rob Pike

cmd/go: add missing doc for GOOS and GOARCH

LGTM=r
R=golang-codereviews, r
CC=golang-codereviews
https://golang.org/cl/133900043
parent 56916fee
...@@ -250,6 +250,10 @@ quoted string appears a single argument to the generator. ...@@ -250,6 +250,10 @@ quoted string appears a single argument to the generator.
Go generate sets several variables when it runs 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 $GOFILE
The base name of the file. The base name of the file.
$GOPACKAGE $GOPACKAGE
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment