What version of Go are you using (go version)?
> go version
go version go1.17.1 linux/amd64
Does this issue reproduce with the latest release?
This is the latest release
What operating system and processor architecture are you using (go env)?
Linux and x86_64, but that isn't relevant to the issue.
What did you do?
> go get golang.org/x/tour
...
> ls -la ~/go/bin/tour
ls: cannot access 'tour': No such file or directory
What did you expect to see?
The tour binary would be available, as according to https://golang.org/doc/#go_tour:
You can take the tour online or install it locally with:
$ go get golang.org/x/tour
This will place the tour binary in your workspace's bin directory.
What did you see instead?
It wasn't available. After 10 minutes of searching I finally found https://tour.golang.org/welcome/3, which has the correct command to run:
go install golang.org/x/website/tour@latest
Since this is one of the first things that newcomers to Go may attempt to do, fixing the outdated documentation at https://golang.org/doc/#go_tour seems important.
P.S. I'm reporting this issue via this template because the "report a website issue" link at the bottom of https://golang.org/doc/#go_tour took me here.
What version of Go are you using (
go version)?Does this issue reproduce with the latest release?
This is the latest release
What operating system and processor architecture are you using (
go env)?Linux and x86_64, but that isn't relevant to the issue.
What did you do?
What did you expect to see?
The tour binary would be available, as according to https://golang.org/doc/#go_tour:
What did you see instead?
It wasn't available. After 10 minutes of searching I finally found https://tour.golang.org/welcome/3, which has the correct command to run:
Since this is one of the first things that newcomers to Go may attempt to do, fixing the outdated documentation at https://golang.org/doc/#go_tour seems important.
P.S. I'm reporting this issue via this template because the "report a website issue" link at the bottom of https://golang.org/doc/#go_tour took me here.