func runtime.GOROOT
6 uses
runtime (current package)
extern.go#L235: func GOROOT() string {
go/build
build.go#L283: if filepath.Clean(def) == filepath.Clean(runtime.GOROOT()) {
build.go#L300: c.GOROOT = pathpkg.Clean(runtime.GOROOT())
gc.go#L16: return filepath.Join(runtime.GOROOT(), "pkg/tool/"+runtime.GOOS+"_"+runtime.GOARCH)
golang.org/x/pkgsite/internal/symbol
apigodoc.go#L69: apiGlob = filepath.Join(filepath.Clean(runtime.GOROOT()), "api", "go*.txt")
time
zoneinfo_unix.go#L25: runtime.GOROOT() + "/lib/time/zoneinfo.zip",
![]() |
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. |