reflect.Value.SetZero
standard libraryThe 8625th most-called standard-library method by production calls. Called 76 times across 19 modules; 70 of those run outside tests and generated code.
20% in production calls vs 2026-W37 (87 → 70)
- prod calls
- 70
- non-test, non-generated
- all calls
- 76
- total callsites
- modules
- 19
- 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 method61%A method on a value whose type is known exactly.
- Embedded method39%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.
where it's called
Callsites in the wild
12 representative callsites of 76, 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-20260820222146-c27c302e5fc3
in loop -
microsoft/typescript-go @v0.0.0-20260820064610-89d5d5b2849a
in loop - in loop
- in loop
- in loop
-
sagernet/tailscale @v1.102.1-sing-box-1.14-mod.5
in loop -
siderolabs/talos/pkg/machinery @v1.14.1
config/configloader/internal/decoder/selector.go:167
in loop - in loop
-
tailscale/tailscale @v1.102.4
in loop -
tailscale.com @v1.102.4
ipn/ipnlocal/c2n.go:207
in loop
top callers
The modules that reach for it
The modules that call Value.SetZero most in this snapshot.
- github.com/sagernet/tailscale1824%
- github.com/go-json-experiment/json1722%
- github.com/parquet-go/parquet-go79%
- github.com/anthropics/anthropic-sdk-go68%
- github.com/sagernet/sing68%
siblings
More from reflect
The other most-called members in this package. See all →