reflect.Value.MapIndex
standard libraryThe 960th most-called standard-library method by production calls. Called 729 times across 225 modules; 685 of those run outside tests and generated code.
- prod calls
- 685
- non-test, non-generated
- all calls
- 729
- total callsites
- modules
- 225
- distinct callers
- in loop
- 81%
- of prod calls
- in tests
- 6%
- 44 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 method1%Reached through an embedded type.
who calls this
Notable callers
Production calls into Value.MapIndex from notable Go projects. Open one on the map to see what else it hammers.
- Kubernetes 65 9%
- Hugo 20 3%
- Protocol Buffers 11 2%
- HashiCorp 6 <1%
- Consul 4 <1%
where it's called
Callsites in the wild
12 representative callsites of 729, 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:121
in loop -
docker/cli @v29.7.1+incompatible
in loop - in loop
-
gitea.dev @v1.27.1
modules/templates/util_dict.go:25
in loop - in loop
-
Azure/go-autorest/autorest/validation @v0.3.2
validation.go:368
in loop
top callers
The modules that reach for it
The modules that call Value.MapIndex most in this snapshot.
- github.com/gohugoio/hugo213%
- github.com/expr-lang/expr182%
- github.com/go-playground/validator/v10182%
- github.com/go-playground/validator172%
- github.com/kubernetes/kubernetes172%
siblings
More from reflect
The other most-called members in this package. See all →