Skip to content

x/website: incorrect instructions for local go tour #48347

@chasecaleb

Description

@chasecaleb

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    DocumentationIssues describing a change to documentation.FrozenDueToAgeNeedsFixThe path to resolution is known, but the work has not been done.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions