const time.Microsecond
20 uses
time (current package)
format.go#L1360: "us": int64(Microsecond),
format.go#L1361: "µs": int64(Microsecond), // U+00B5 = micro symbol
format.go#L1362: "μs": int64(Microsecond), // U+03BC = Greek letter mu
time.go#L603: Microsecond = 1000 * Nanosecond
time.go#L604: Millisecond = 1000 * Microsecond
time.go#L635: case u < uint64(Microsecond):
github.com/go-redis/redis/v8
cluster.go#L204: dur += uint64(time.Since(start) / time.Microsecond)
cluster.go#L213: return time.Duration(latency) * time.Microsecond
command.go#L2241: costsDuration := time.Duration(costs) * time.Microsecond
github.com/jackc/pgtype
interval.go#L72: *v = time.Duration(us) * time.Microsecond
timestamp.go#L169: s = src.Time.Truncate(time.Microsecond).Format(pgTimestampFormat)
timestamptz.go#L171: s = src.Time.UTC().Truncate(time.Microsecond).Format(pgTimestamptzSecondFormat)
github.com/jackc/pgx/v4/internal/sanitize
sanitize.go#L50: str = arg.Truncate(time.Microsecond).Format("'2006-01-02 15:04:05.999999999Z07:00:00'")
go.opencensus.io/trace
spanbucket.go#L27: 10 * time.Microsecond,
spanbucket.go#L28: 100 * time.Microsecond,
go.opencensus.io/zpages
tracez.go#L48: 10 * time.Microsecond,
tracez.go#L49: 100 * time.Microsecond,
golang.org/x/pkgsite/internal/testing/sample
sample.go#L172: return time.Now().In(time.UTC).Truncate(time.Microsecond)
google.golang.org/grpc/internal/grpcutil
encode_duration.go#L49: if d := div(t, time.Microsecond); d <= maxTimeoutValue {
google.golang.org/grpc/internal/transport
http_util.go#L409: return time.Microsecond, true
![]() |
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. |