time.Duration.Round (method)
4 uses
time (current package)
time.go#L788: func (d Duration) Round(m Duration) Duration {
archive/zip
struct.go#L212: offset = offset.Round(offsetAlias)
golang.org/x/pkgsite/internal/worker
server.go#L653: return time.Since(t).Round(time.Second)
server.go#L656: return t1.Sub(t2).Round(time.Second)
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin 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 @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |