golang/go

x/website/_content/doc/tutorial: unnecessary cd into home directory

Open

#66,497 opened on Mar 22, 2024

View on GitHub
 (3 comments) (0 reactions) (0 assignees)Go (19,008 forks)batch import
DocumentationNeedsInvestigationhelp wantedwebsite

Repository metrics

Stars
 (133,883 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

Issue

The tutorial suggests making the project folder in the home directory:- image Ex:- https://go.dev/doc/tutorial/getting-started , https://go.dev/doc/tutorial/getting-started

Which can be misleading and can convey that a go project must be created in the home directory.

Suggested fix

  1. Remove the step
  2. Mark the step as optional
  3. Add a note implying the project directory can be made in other directories as well

Contributor guide