aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/go/alldocs.go
diff options
context:
space:
mode:
authorSam Thanawalla <samthanawalla@google.com>2024-02-08 18:32:55 +0000
committerSam Thanawalla <samthanawalla@google.com>2024-02-16 16:56:39 +0000
commitb2a169be6f499ac818620398570840b65100ccb7 (patch)
treee07235998c7517114727ac9ec0765e72c25a3d7d /src/cmd/go/alldocs.go
parent7f799f33b62320147391f43603e6d28a384865f1 (diff)
downloadgo-b2a169be6f499ac818620398570840b65100ccb7.tar.gz
go-b2a169be6f499ac818620398570840b65100ccb7.zip
cmd/go: show Sum/GoModSum when listing modules
Fixes #52792 Tested: Ran go test cmd/go Change-Id: Ib7006256f4dca9e9fbfce266c00253c69595d6ab Cq-Include-Trybots: luci.golang.try:gotip-linux-amd64-longtest,gotip-windows-amd64-longtest Reviewed-on: https://go-review.googlesource.com/c/go/+/562775 Reviewed-by: Bryan Mills <bcmills@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Diffstat (limited to 'src/cmd/go/alldocs.go')
-rw-r--r--src/cmd/go/alldocs.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cmd/go/alldocs.go b/src/cmd/go/alldocs.go
index a6166a7fdb0..5e6d54ee2e7 100644
--- a/src/cmd/go/alldocs.go
+++ b/src/cmd/go/alldocs.go
@@ -1004,6 +1004,8 @@
// Retracted []string // retraction information, if any (with -retracted or -u)
// Deprecated string // deprecation message, if any (with -u)
// Error *ModuleError // error loading module
+// Sum string // checksum for path, version (as in go.sum)
+// GoModSum string // checksum for go.mod (as in go.sum)
// Origin any // provenance of module
// Reuse bool // reuse of old module info is safe
// }