google.golang.org/protobuf/types/known/structpb.NewStruct
third-partyThe 9264th most-called third-party function by production calls. Called 250 times across 24 modules; 64 of those run outside tests and generated code.
All of google.golang.org/protobuf/types/known/structpb → Docs on pkg.go.dev ↗
- prod calls
- 64
- non-test, non-generated
- all calls
- 250
- total callsites
- modules
- 24
- distinct callers
- in loop
- 23%
- of prod calls
- in tests
- 74%
- 185 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 →
- Package function100%A direct call to an exported package function, resolved by type.
who calls this
Notable callers
Production calls into NewStruct from notable Go projects. Open one on the map to see what else it hammers.
- HashiCorp 17 27%
- Istio 12 19%
- Consul 2 3%
- gRPC 2 3%
- Kubernetes 2 3%
where it's called
Callsites in the wild
12 representative callsites of 250, prioritizing in-loop and non-test usage. We link to source, never display it.
- in loop
-
googleapis/mcp-toolbox @v1.8.0
internal/tools/dataplex/dataplexupdatedataproductaspects/dataplexupdatedataproductaspects.go:209 ↗
in loop - in loop
- in loop
- in loop
-
google.golang.org/grpc @v1.83.0
internal/testutils/xds/e2e/clientresources.go:734
in loop - in loop
-
istio/istio @v0.0.0-20260804075250-35fae141dc60
in loop - in loop
-
istio.io/istio @v0.0.0-20260804075250-35fae141dc60
pkg/test/echo/server/endpoint/endpointpicker.go:84
in loop - in loop
- in loop
top callers
The modules that reach for it
The modules that call NewStruct most in this snapshot.
- github.com/hashicorp/boundary16566%
- github.com/istio/istio94%
- github.com/tmc/langchaingo94%
- istio.io/istio94%
- github.com/parquet-go/parquet-go83%