const time.Nanosecond
12 uses
time (current package)
format.go#L1359: "ns": int64(Nanosecond),
time.go#L602: Nanosecond Duration = 1
time.go#L603: Microsecond = 1000 * Nanosecond
github.com/aws/aws-sdk-go/aws
convert_types.go#L872: return t.UnixNano() / int64(time.Millisecond/time.Nanosecond)
github.com/golang/protobuf/ptypes
duration.go#L33: d += time.Duration(dur.Nanos) * time.Nanosecond
github.com/prometheus/common/model
time.go#L32: nanosPerTick = int64(minimumTick / time.Nanosecond)
google.golang.org/grpc/balancer/grpclb
grpclb.go#L59: return time.Duration(d.Seconds)*time.Second + time.Duration(d.Nanos)*time.Nanosecond
google.golang.org/grpc/internal/grpcutil
encode_duration.go#L46: if d := div(t, time.Nanosecond); d <= maxTimeoutValue {
google.golang.org/grpc/internal/transport
http_util.go#L411: return time.Nanosecond, true
google.golang.org/protobuf/types/known/durationpb
duration.pb.go#L181: d += time.Duration(nanos) * time.Nanosecond
os
exec_unix.go#L101: return time.Duration(p.rusage.Utime.Nano()) * time.Nanosecond
exec_unix.go#L105: return time.Duration(p.rusage.Stime.Nano()) * time.Nanosecond
![]() |
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. |