reflect.Value.NumField
standard libraryThe 784th most-called standard-library method by production calls. Called 1,020 times across 327 modules; 872 of those run outside tests and generated code.
- prod calls
- 872
- non-test, non-generated
- all calls
- 1,020
- total callsites
- modules
- 327
- distinct callers
- in loop
- 6%
- of prod calls
- in tests
- 14%
- 146 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 method100%A method on a value whose type is known exactly.
who calls this
Notable callers
Production calls into Value.NumField from notable Go projects. Open one on the map to see what else it hammers.
- Kubernetes 46 5%
- Grafana 16 2%
- Go (golang.org/x) 11 1%
- CockroachDB 9 1%
- Prometheus 8 <1%
where it's called
Callsites in the wild
12 representative callsites of 1,020, prioritizing in-loop and non-test usage. We link to source, never display it.
- in loop
- in loop
-
astaxie/beego @v1.12.3
in loop - in loop
-
beego/beego @v1.12.14
in loop - in loop
- in loop
- in loop
-
duo-labs/webauthn @v0.0.0-20221205164246-ebaf9b74c6ec
in loop -
elastic/beats @v6.8.23+incompatible
in loop -
expr-lang/expr @v1.17.8
in loop -
godbus/dbus/v5 @v5.2.2
in loop
top callers
The modules that reach for it
The modules that call Value.NumField most in this snapshot.
- github.com/huaweicloud/huaweicloud-sdk-go-v310010%
- github.com/kubernetes/kubernetes485%
- github.com/google/gvisor162%
- github.com/photoprism/photoprism151%
- github.com/grafana/alloy131%
siblings
More from reflect
The other most-called members in this package. See all →