github.com/Azure/azure-sdk-for-go/sdk/azcore/to.Ptr
third-partyThe 2481st most-called third-party function by production calls. Called 7,703 times across 29 modules; 243 of those run outside tests and generated code.
All of github.com/Azure/azure-sdk-for-go/sdk/azcore/to → Docs on pkg.go.dev ↗
- prod calls
- 243
- non-test, non-generated
- all calls
- 7,703
- total callsites
- modules
- 29
- distinct callers
- in loop
- 23%
- of prod calls
- in tests
- 93%
- 7,179 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 75%
- 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,703, prioritizing in-loop and non-test usage. We link to source, never display it.
-
Azure/azure-sdk-for-go/sdk/azcore @v1.22.0
to/to.go:15
in loop -
Azure/azure-sdk-for-go/sdk/storage/azblob @v1.8.0
internal/generated/zz_xml_helper.go:45
in loop - in loop
- in loop
- in loop
-
seaweedfs/seaweedfs @v0.0.0-20260805044234-3c549b33ab8d
in loop -
k8s.io/kops @v1.36.1
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.0
internal/exported/blob_batch.go:222
in loop - in loop
-
Azure/azure-sdk-for-go/sdk/storage/azblob @v1.8.0
internal/exported/blob_batch.go:223
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/azblob2704%