reflect.Value.SetZero
standard libraryThe 9013th most-called standard-library method by production calls. Called 72 times across 20 modules; 66 of those run outside tests and generated code.
- prod calls
- 66
- non-test, non-generated
- all calls
- 72
- total callsites
- modules
- 20
- distinct callers
- in loop
- 50%
- of prod calls
- in tests
- 8%
- 6 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 method58%A method on a value whose type is known exactly.
- Embedded method42%Reached through an embedded type.
who calls this
Notable callers
Production calls into Value.SetZero from notable Go projects. Open one on the map to see what else it hammers.
- Kubernetes 17 26%
- HashiCorp 3 5%
- KubeVirt 1 2%
- Tailscale 1 2%
where it's called
Callsites in the wild
12 representative callsites of 72, prioritizing in-loop and non-test usage. We link to source, never display it.
- in loop
-
casdoor/casdoor @v1.1000.0
in loop -
go-json-experiment/json @v0.0.0-20260623181947-01eb4420fa68
in loop -
microsoft/typescript-go @v0.0.0-20260804013739-12318e599d21
in loop - in loop
-
parquet-go/parquet-go @v0.30.1
in loop - in loop
-
sagernet/tailscale @v1.102.1
in loop -
siderolabs/talos/pkg/machinery @v1.13.8
config/configloader/internal/decoder/selector.go:167
in loop - in loop
-
k8s.io/kube-openapi @v0.0.0-20260721132016-d427ff9ee9ad
pkg/internal/third_party/go-json-experiment/json/arshal_default.go:935
in loop -
tailscale/tailscale @v1.102.2
in loop
top callers
The modules that reach for it
The modules that call Value.SetZero most in this snapshot.
- github.com/go-json-experiment/json1724%
- k8s.io/kube-openapi1724%
- github.com/anthropics/anthropic-sdk-go68%
- github.com/sagernet/sing68%
- github.com/openai/openai-go/v357%
siblings
More from reflect
The other most-called members in this package. See all →