time.Time.Nanosecond
standard libraryThe 647th most-called standard-library method by production calls. Called 1,533 times across 229 modules; 1,223 of those run outside tests and generated code.
0% in production calls vs 2026-W48 (1,218 → 1,223)
- prod calls
- 1,223
- non-test, non-generated
- all calls
- 1,533
- total callsites
- modules
- 229
- distinct callers
- in loop
- 3%
- of prod calls
- in tests
- 20%
- 308 calls
- resolved
- 100%
- to a known target
resolution mix
How each call resolves
How each call was attributed. Only resolved kinds, where the target function is known, count toward the ranking. Interface dispatch and unresolved receivers are reported separately and never guessed. Read the taxonomy →
- Concrete method99%A method on a value whose type is known exactly.
- Embedded method<1%Reached through an embedded type.
who calls this
Notable callers
Production calls into Time.Nanosecond from notable Go projects. Open one on the map to see what else it hammers.
- Kubernetes 85 7%
- containerd 21 2%
- CockroachDB 16 1%
- Docker 14 1%
- HashiCorp 9 <1%
where it's called
Callsites in the wild
12 representative callsites of 1,533, prioritizing in-loop and non-test usage. We link to source, never display it.
-
google/gvisor @v0.0.0-20261130174204-4c7ed132a44d
in loop - in loop
-
inancgumus/learngo @v0.0.0-20261122191141-f5bec8e22074
15-project-retro-led-clock/exercises/03-split-second/solution/main.go:26 ↗
in loop - in loop
-
kopia/kopia @v0.23.1
in loop - in loop
- in loop
-
spf13/cast @v1.10.0
in loop - in loop
- in loop
-
xorm-io/xorm @v1.1.6
in loop -
xuri/excelize/v2 @v2.11.1
in loop
top callers
The modules that reach for it
The modules that call Time.Nanosecond most in this snapshot.
- github.com/DataDog/datadog-api-client-go/v256237%
- github.com/juicedata/juicefs946%
- cloud.google.com/go/storage745%
- github.com/seaweedfs/seaweedfs584%
- github.com/kubernetes/kubernetes533%
siblings
More from time
The other most-called members in this package. See all →