github.com/Azure/azure-sdk-for-go/sdk/azcore/to.Ptr
third-partyThe 2487th most-called third-party function by production calls. Called 7,711 times across 28 modules; 246 of those run outside tests and generated code.
3% in production calls vs 2026-W37 (238 → 246)
All of github.com/Azure/azure-sdk-for-go/sdk/azcore/to → Docs on pkg.go.dev ↗
- prod calls
- 246
- non-test, non-generated
- all calls
- 7,711
- total callsites
- modules
- 28
- distinct callers
- in loop
- 22%
- of prod calls
- in tests
- 93%
- 7,184 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.
- Package function (by syntax)<1%A package function in a module outside the crawl, keyed by import path.
who calls this
Notable callers
Production calls into Ptr from notable Go projects. Open one on the map to see what else it hammers.
- Kubernetes 182 74%
- Prometheus 2 <1%
- Docker 1 <1%
- Grafana 1 <1%
- KEDA 1 <1%
where it's called
Callsites in the wild
12 representative callsites of 7,711, prioritizing in-loop and non-test usage. We link to source, never display it.
-
Azure/azure-sdk-for-go/sdk/azcore @v1.23.1
to/to.go:15
in loop -
Azure/azure-sdk-for-go/sdk/storage/azblob @v1.8.1
internal/generated/zz_xml_helper.go:78
in loop - in loop
- in loop
-
seaweedfs/seaweedfs @v0.0.0-20260921075935-e2608edda4f9
in loop -
k8s.io/kops @v1.36.2
pkg/model/azuremodel/vmscaleset.go:73
in loop -
minio/minio @v0.0.0-20260212201848-7aac2a2c5b7c
in loop - in loop
-
Azure/azure-sdk-for-go/sdk/storage/azblob @v1.8.1
internal/exported/blob_batch.go:232
in loop - in loop
-
Azure/azure-sdk-for-go/sdk/storage/azblob @v1.8.1
internal/exported/blob_batch.go:233
in loop -
k8s.io/kops @v1.36.2
pkg/model/azuremodel/vmscaleset.go:75
in loop
top callers
The modules that reach for it
The modules that call Ptr most in this snapshot.
- github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute/v73,82050%
- github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/network/armnetwork/v72,45132%
- k8s.io/kops3965%
- github.com/kubernetes/kops3845%
- github.com/Azure/azure-sdk-for-go/sdk/storage/azblob2834%