time.Time.Truncate (method)
6 uses
time (current package)
time.go#L1778: func (t Time) Truncate(d Duration) Time {
github.com/robfig/cron/v3
spec.go#L153: t = t.Truncate(time.Minute)
spec.go#L165: t = t.Truncate(time.Second)
log/slog
handler.go#L629: t = t.Truncate(time.Millisecond).Add(time.Millisecond / 10)
net/http
fs.go#L525: modtime = modtime.Truncate(time.Second)
fs.go#L576: modtime = modtime.Truncate(time.Second)
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)