reflect.StructTag.Lookup
standard libraryThe 2537th most-called standard-library method by production calls. Called 251 times across 102 modules; 237 of those run outside tests and generated code.
- prod calls
- 237
- non-test, non-generated
- all calls
- 251
- total callsites
- modules
- 102
- distinct callers
- in loop
- 56%
- of prod calls
- in tests
- 6%
- 14 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 StructTag.Lookup from notable Go projects. Open one on the map to see what else it hammers.
- Kubernetes 16 7%
- Consul 2 <1%
- Authelia 1 <1%
- CockroachDB 1 <1%
- Go (golang.org/x) 1 <1%
where it's called
Callsites in the wild
12 representative callsites of 251, prioritizing in-loop and non-test usage. We link to source, never display it.
-
cockroachdb/cockroach @v19.2.12+incompatible
in loop - in loop
-
entgo.io/ent @v0.14.6
entc/gen/type.go:631
in loop -
99designs/gqlgen @v0.17.94
in loop -
AlexxIT/go2rtc @v1.9.14
in loop - in loop
- in loop
- in loop
-
Mrs4s/MiraiGo @v0.0.0-20240226124653-54bdd873e3fe
in loop -
abema/go-mp4 @v1.7.1
in loop -
alecthomas/kong @v1.16.0
in loop - in loop
top callers
The modules that reach for it
The modules that call StructTag.Lookup most in this snapshot.
- github.com/anthropics/anthropic-sdk-go114%
- github.com/openai/openai-go/v3114%
- github.com/aliyun/alibabacloud-oss-go-sdk-v2104%
- github.com/kubernetes/kubernetes104%
- github.com/google/gvisor83%
siblings
More from reflect
The other most-called members in this package. See all →