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.
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
-jsonoutput should include theRetract []Retractfield in the GoMod struct and include theModPathstruct (and the Module field should be of type ModPath).This field and struct are present in the
go help mod editdocumentation.What did you see instead?
Missing Retract field and ModPath struct.