time.Duration.Milliseconds (method)
7 uses
time (current package)
time.go#L735: func (d Duration) Milliseconds() int64 { return int64(d) / 1e6 }
github.com/evanw/esbuild/internal/logger
logger.go#L757: time.Since(start).Milliseconds(),
github.com/evanw/esbuild/pkg/api
serve_other.go#L94: TimeInMS: int(duration.Milliseconds()),
golang.org/x/pkgsite/internal/middleware
stats.go#L58: SetStat(ctx, name+" ms", time.Since(start).Milliseconds())
stats.go#L101: s.stats.MillisToFirstByte = time.Since(s.start).Milliseconds()
stats.go#L113: s.stats.MillisToLastByte = time.Since(s.start).Milliseconds()
golang.org/x/pkgsite/internal/worker
metrics.go#L55: stats.Record(ctx, processingLag.M(d.Milliseconds()/1000))
![]() |
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. |