go/build.Context.GOOS (field)
12 uses
go/build (current package)
build.go#L39: GOOS string // target operating system
build.go#L337: c.GOOS = buildcfg.GOOS
build.go#L371: if runtime.GOARCH == c.GOARCH && runtime.GOOS == c.GOOS {
build.go#L372: c.CgoEnabled = platform.CgoSupported(c.GOOS, c.GOARCH)
build.go#L593: pkgtargetroot = "pkg/gccgo_" + ctxt.GOOS + "_" + ctxt.GOARCH + suffix
build.go#L595: pkgtargetroot = "pkg/" + ctxt.GOOS + "_" + ctxt.GOARCH + suffix
build.go#L1249: "GOOS="+ctxt.GOOS,
build.go#L1968: if name == ctxt.GOOS || name == ctxt.GOARCH || name == ctxt.Compiler {
build.go#L1971: if ctxt.GOOS == "android" && name == "linux" {
build.go#L1974: if ctxt.GOOS == "illumos" && name == "solaris" {
build.go#L1977: if ctxt.GOOS == "ios" && name == "darwin" {
build.go#L1980: if name == "unix" && syslist.UnixOS[ctxt.GOOS] {
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)