Skip to content

cmd/go: document required fields needed by -reuse flag and add tests to that effect #58665

@hyangah

Description

@hyangah

json outputs of go list and go mod download contain multiple fields
and only subsets of them are required for the subsequent go command runs with -reuse.
Document those fields clearly and add tests to prevent regression.

cc @rsc @bcmills @suzmue

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