mirror of
https://github.com/golang/go
synced 2024-11-19 03:04:42 -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:
|
||||
|
||||
$GOARCH
|
||||
The execution architecture (arm, amd64, etc.)
|
||||
$GOOS
|
||||
The execution operating system (linux, windows, etc.)
|
||||
$GOFILE
|
||||
The base name of the file.
|
||||
$GOPACKAGE
|
||||
|
Loading…
Reference in New Issue
Block a user