time.Time.Round (method)
6 uses
time (current package)
time.go#L1795: func (t Time) Round(d Duration) Time {
golang.org/x/net/http2
transport.go#L1074: return cc.idleTimeout != 0 && !cc.lastIdle.IsZero() && time.Since(cc.lastIdle.Round(0)) > cc.idleTimeout
log/slog
handler.go#L283: val := r.Time.Round(0) // strip monotonic to match Attr behavior
value.go#L169: return Value{any: timeTime(v.Round(0))}
net/http
h2_bundle.go#L8403: return cc.idleTimeout != 0 && !cc.lastIdle.IsZero() && cc.t.timeSince(cc.lastIdle.Round(0)) > cc.idleTimeout
transport.go#L1183: tooOld := !oldTime.IsZero() && pconn.idleAt.Round(0).Before(oldTime)
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)