Skip to content

x/website: Missing Retract field and ModPath struct in GoMod module reference docs #51163

@pkwarren

Description

@pkwarren

What version of Go are you using (go version)?

n/a

Does this issue reproduce with the latest release?

n/a

What operating system and processor architecture are you using (go env)?

n/a

What did you do?

Reviewed https://go.dev/ref/mod#go-mod-edit (source: https://github.com/golang/website/blob/master/_content/ref/mod.md#go-mod-edit-go-mod-edit)

What did you expect to see?

The description of the -json output should include the Retract []Retract field in the GoMod struct and include the ModPath struct (and the Module field should be of type ModPath).
This field and struct are present in the go help mod edit documentation.

What did you see instead?

Missing Retract field and ModPath struct.

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.help wantedmodules

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions