doc: setting GOROOT is not necessary when installing to custom location #25002
Labels
Documentation
Issues describing a change to documentation.
FrozenDueToAge
help wanted
NeedsFix
The path to resolution is known, but the work has not been done.
Milestone
What version of Go are you using (
go version
)?go version go1.10.1 darwin/amd64
Does this issue reproduce with the latest release?
Yes.
What did you do?
Visit https://golang.org/dl/ and download a go1.10.1 tarball
Install to a custom location:
Visit https://golang.org/doc/install#tarball_non_standard and see the installation instructions
What did you expect to see?
No need to set GOROOT, as it is indeed not necessary in Go 1.10.
What did you see instead?
In #18678 (comment), @minux proposed to derive GOROOT from
os.Executable
...The change was implemented in CL 42533, but the documentation was not updated to remove suggestions to set GOROOT.
The text was updated successfully, but these errors were encountered: