mirror of
https://github.com/golang/go
synced 2024-11-26 04:37:59 -07:00
cmd/go: add the Retract field to 'go help mod edit' definition of the GoMod struct
Fixes #43281
Change-Id: Ife26ca174a8818b56aaea9547976d97978478a5f
GitHub-Last-Rev: 85a3d30001
GitHub-Pull-Request: golang/go#43315
Reviewed-on: https://go-review.googlesource.com/c/go/+/279592
Run-TryBot: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Jay Conrod <jayconrod@google.com>
Reviewed-by: Bryan C. Mills <bcmills@google.com>
Trust: Jay Conrod <jayconrod@google.com>
This commit is contained in:
parent
49d0b239cb
commit
30c99cbb7a
@ -1192,6 +1192,7 @@
|
|||||||
// Require []Require
|
// Require []Require
|
||||||
// Exclude []Module
|
// Exclude []Module
|
||||||
// Replace []Replace
|
// Replace []Replace
|
||||||
|
// Retract []Retract
|
||||||
// }
|
// }
|
||||||
//
|
//
|
||||||
// type Require struct {
|
// type Require struct {
|
||||||
|
@ -95,6 +95,7 @@ writing it back to go.mod. The JSON output corresponds to these Go types:
|
|||||||
Require []Require
|
Require []Require
|
||||||
Exclude []Module
|
Exclude []Module
|
||||||
Replace []Replace
|
Replace []Replace
|
||||||
|
Retract []Retract
|
||||||
}
|
}
|
||||||
|
|
||||||
type Require struct {
|
type Require struct {
|
||||||
|
Loading…
Reference in New Issue
Block a user