go/build.Package.Root (field)
15 uses
go/build (current package)
build.go#L400: Root string // root of Go tree where this package lives
build.go#L576: p.Root = ctxt.GOROOT
build.go#L604: p.Root = root
build.go#L646: p.Root = root
build.go#L688: p.Root = ctxt.GOROOT
build.go#L698: p.Root = ctxt.GOROOT
build.go#L707: p.Root = root
build.go#L724: p.Root = ctxt.GOROOT
build.go#L755: if p.Root != "" {
build.go#L756: p.SrcRoot = ctxt.joinPath(p.Root, "src")
build.go#L757: p.PkgRoot = ctxt.joinPath(p.Root, "pkg")
build.go#L758: p.BinDir = ctxt.joinPath(p.Root, "bin")
build.go#L760: p.PkgTargetRoot = ctxt.joinPath(p.Root, pkgtargetroot)
build.go#L761: p.PkgObj = ctxt.joinPath(p.Root, pkga)
build.go#L1187: p.Root = f[2]
![]() |
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. |