Skip to content

cmd/go: update "GOPATH environment variable" section to be module-mode first #57335

@hyangah

Description

@hyangah

Current version of GOPATH_environment_variable (as of go1.20rc1)
is still focusing more on the use/layout of GOPATH in GOPATH-mode and is a common source of confusion for users.

It is followed by a tiny section GOPATH_and_Modules but this is really easy to miss.

cc @bcmills @matloob @rsc

Metadata

Metadata

Assignees

No one assigned

    Labels

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

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions