Update go version

This commit is contained in:
dwrz
2026-08-21 10:23:37 +00:00
parent 78248a6145
commit c2e2d9ea02
466 changed files with 67766 additions and 2881 deletions

View File

@@ -73,7 +73,9 @@ func build(gomodcache string, old *Index) (*Index, bool, error) {
// Set the time window.
var start time.Time // = dawn of time
if old != nil {
start = old.ValidAt
// -1s to accommodate skew between (fine-grained) time.Now
// and (coarse) file system's mtime clock.
start = old.ValidAt.Add(-1 * time.Second)
}
now := time.Now()
end := now.Add(24 * time.Hour) // safely in the future