go/build.Context.GOOS (field)
12 uses
go/build (current package)
build.go#L34: GOOS string // target operating system
build.go#L299: c.GOOS = envOr("GOOS", runtime.GOOS)
build.go#L328: if runtime.GOARCH == c.GOARCH && runtime.GOOS == c.GOOS {
build.go#L329: c.CgoEnabled = cgoEnabled[c.GOOS+"/"+c.GOARCH]
build.go#L538: pkgtargetroot = "pkg/gccgo_" + ctxt.GOOS + "_" + ctxt.GOARCH + suffix
build.go#L540: pkgtargetroot = "pkg/" + ctxt.GOOS + "_" + ctxt.GOARCH + suffix
build.go#L1159: "GOOS="+ctxt.GOOS,
build.go#L1882: if name == ctxt.GOOS || name == ctxt.GOARCH || name == ctxt.Compiler {
build.go#L1885: if ctxt.GOOS == "android" && name == "linux" {
build.go#L1888: if ctxt.GOOS == "illumos" && name == "solaris" {
build.go#L1891: if ctxt.GOOS == "ios" && name == "darwin" {
golang.org/x/pkgsite/internal/fetch
load.go#L312: GOOS: goos,
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |