go/build.Context.GOARCH (field)
9 uses
go/build (current package)
build.go#L33: GOARCH string // target architecture
build.go#L298: c.GOARCH = envOr("GOARCH", runtime.GOARCH)
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#L1160: "GOARCH="+ctxt.GOARCH,
build.go#L1882: if name == ctxt.GOOS || name == ctxt.GOARCH || name == ctxt.Compiler {
golang.org/x/pkgsite/internal/fetch
load.go#L313: GOARCH: goarch,
![]() |
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. |