time.Time.Truncate (method)
5 uses
time (current package)
time.go#L1577: func (t Time) Truncate(d Duration) Time {
github.com/golang-jwt/jwt/v5
types.go#L39: return &NumericDate{t.Truncate(TimePrecision)}
types.go#L56: truncatedDate := date.Truncate(TimePrecision)
net/http
fs.go#L520: modtime = modtime.Truncate(time.Second)
fs.go#L571: modtime = modtime.Truncate(time.Second)
![]() |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |