reflect.Value.IsNil
standard libraryThe 301st most-called standard-library method by production calls. Called 3,880 times across 499 modules; 3,073 of those run outside tests and generated code.
- prod calls
- 3,073
- non-test, non-generated
- all calls
- 3,880
- total callsites
- modules
- 499
- distinct callers
- in loop
- 24%
- of prod calls
- in tests
- 8%
- 297 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 Value.IsNil from notable Go projects. Open one on the map to see what else it hammers.
- Kubernetes 323 11%
- Protocol Buffers 55 2%
- Go (golang.org/x) 54 2%
- HashiCorp 53 2%
- Hugo 31 1%
where it's called
Callsites in the wild
12 representative callsites of 3,880, prioritizing in-loop and non-test usage. We link to source, never display it.
- in loop
- in loop
- in loop
-
cockroachdb/cockroach @v19.2.12+incompatible
in loop - in loop
- in loop
-
dario.cat/mergo @v1.0.2
merge.go:128
in loop -
docker/distribution @v2.8.3+incompatible
in loop -
entgo.io/ent @v0.14.6
dialect/sql/scan.go:249
in loop - in loop
- in loop
- in loop
top callers
The modules that reach for it
The modules that call Value.IsNil most in this snapshot.
- github.com/kubernetes/kubernetes1955%
- github.com/gogo/protobuf1845%
- github.com/baidubce/bce-sdk-go1073%
- github.com/grafana/loki/v3712%
- google.golang.org/protobuf642%
siblings
More from reflect
The other most-called members in this package. See all →