mirror of
https://github.com/golang/go
synced 2024-11-19 04:44:41 -07:00
cmd/go: add missing doc for GOOS and GOARCH
LGTM=r R=golang-codereviews, r CC=golang-codereviews https://golang.org/cl/133900043
This commit is contained in:
parent
56916feea3
commit
3c466dfea4
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user