time.Time.Round (method)
6 uses
time (current package)
time.go#L1799: func (t Time) Round(d Duration) Time {
golang.org/x/net/http2
transport.go#L752: 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#L8412: return cc.idleTimeout != 0 && !cc.lastIdle.IsZero() && time.Since(cc.lastIdle.Round(0)) > cc.idleTimeout
transport.go#L1209: tooOld := !oldTime.IsZero() && pconn.idleAt.Round(0).Before(oldTime)
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64)