Nov 21, 2026
6 min read
0 views
Go module versions can be listed from two services run by Google: the module index, a chronological feed of the module versions the Go module mirror has cached, and the mirror itself, which answers per-module requests such as @v/list and @v/<version>.info. The timestamps differ in meaning. The index documentation gives its Timestamp as the time a version was first cached by the mirror, while the Go module reference says the .info Time field "indicates the time when the version was created." Neither page describes its field as a publication date. Retracted versions stay available on the mirror, and the mirror does not accept requests to remove cached versions.
The Go module mirror page says the services are "run by Google." It describes three: the module mirror, which implements the module proxy protocol; the index, "a feed of new module versions" the mirror has cached; and "an auditable checksum database" that the go command uses to authenticate modules. The Go module reference gives the default GOPROXY value as https://proxy.golang.org,direct and says GOSUMDB defaults to sum.golang.org, "the Go checksum database run by Google."
From the index: the index documentation says the feed at https://index.golang.org/index is "served as new line delimited JSON," gives each version's Path, Version and Timestamp, and "is sorted in chronological order." Parameters: since, "the oldest allowable timestamp (RFC3339 format)," defaulting to "the beginning of time," and limit, "Default = 2000, Max = 2000." By default it returns versions the mirror has cached copies of; with include=all it returns all module versions the mirror or the checksum database ever served. The documented parameters do not filter by module.
From the mirror, one module at a time: the Go module reference says $base/$module/@v/list "Returns a list of known versions of the given module in plain text, one per line. This list should not include pseudo-versions." $base/$module/@latest returns metadata for the latest known version and is optional for proxies.
Bulk use: the index page says that anyone using it "to download many modules from the module mirror" will want the /cached-only endpoint. The mirror page says that endpoint returns only cached content, possibly missing rarely used modules.
From Open Source Insights: the Open Source Insights API v3 documentation says its API "provides access to Open Source Insights data" and covers Go among its systems, with GetPackage returning a package's available versions and GetVersion one version. For Go, it says it collects only modules fetched through the Go module mirror.
Index Timestamp: the time a version was "first cached" by the mirror, per the index documentation.
Mirror .info Time: the Go module reference gives the Info structure with the Time field commented as "commit time," says the field is optional, and says it "indicates the time when the version was created."
Open Source Insights publishedAt: "The time when this package version was published, if available, as reported by the package management authority."
How versions get into the mirror: the mirror page says a tagged version is requested with go get module@version and "should be available within one minute," and that if the version was requested before the tag was pushed, the cache may take up to 30 minutes to expire. The index lists a version from the time the mirror first cached it.
The Go module reference says a retract directive "indicates that a version or range of versions of the module defined by go.mod should not be depended upon," and that "Retracted versions should remain available in version control repositories and on module proxies to ensure that builds that depend on them are not broken." Retracted versions are hidden from go list -m -versions unless -retracted is used and are excluded from queries such as @latest. A retraction is published by adding the directive to go.mod and releasing a new, higher version. A rationale comment "should" accompany each directive, "though this is not mandatory." The index fields as documented (Path, Version, Timestamp) include nothing about retraction.
Removal: the mirror page says "We do not accept requests to remove cached modules or versions" from the mirror, and points to retraction instead.
Retention: the mirror page says it "does not save all modules forever." If a suitable licence cannot be detected, only a temporary cached copy is kept; checksums stay in the checksum database even after a module is no longer available in the mirror.
Rate limits: none stated on the mirror page or the index page as read. The mirror page shows no terms of service section.
Privacy: the mirror privacy page, last updated August 6, 2019, lists logged data including request time, client IP address and full request URL, and says "We do not store logged personally identifiable information such as IP addresses for more than 30 days."
Open Source Insights: its API documentation says use of the API "is subject to the Google API Terms of Service" and "This generated data is available under a CC-BY 4.0 license," with aggregated third-party data following its own sources' terms.
First cached is not released. The index Timestamp is when the mirror first cached a version, and the mirror page describes versions reaching it when they are requested.
Created is not cached. The .info Time is described as the time the version was created (commented as commit time), not the time the mirror first cached it.
Lists leave things out. @v/list "should not include pseudo-versions," and the go command hides retracted versions by default.
Coverage depends on requests. Versions reach the mirror when they are requested, and Open Source Insights' Go data covers only modules fetched through the mirror.
Not everything stays. The mirror does not save all modules forever, and it keeps only a temporary copy when no suitable licence is detected.
No retraction field in the index. Retractions are declared in the go.mod of a later version.
Glasp has no published note on the Go module index or proxy.
Request @v/list for that module from the mirror; it returns known versions one per line and should not include pseudo-versions. The go command's go list -m -versions hides retracted versions unless -retracted is given.
The time the version was first cached by the Go module mirror.
The mirror page says removal requests are not accepted; the route it gives is a retract directive in a new version.
None is stated on the mirror or index pages as read. For bulk downloads the index page points to the /cached-only endpoint.
Compiled by Glasp from public pages read on November 22, 2026. Terms and behaviour are quoted as they appeared that day and may change; check the Go team's pages before relying on them.