mirror of
https://github.com/golang/go
synced 2024-11-23 14:26:17 +00:00
a5d61d75e3
Fixes #51473. Change-Id: Ic868790f480b21b472c98b39be797bcffb1fa892 Reviewed-on: https://go-review.googlesource.com/c/go/+/564142 Reviewed-by: Ian Lance Taylor <iant@google.com> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
158 B
158 B
The [GOROOT] function is now deprecated.
In new code prefer to use the system path to locate the “go” binary,
and use go env GOROOT
to find its GOROOT.