google.golang.org/protobuf/types/known/durationpb.Duration.AsDuration
third-partyThe 2767th most-called third-party method by production calls. Called 527 times across 29 modules; 233 of those run outside tests and generated code.
No change in production calls since 2026-W48.
All of google.golang.org/protobuf/types/known/durationpb → Docs on pkg.go.dev ↗
- prod calls
- 233
- non-test, non-generated
- all calls
- 527
- total callsites
- modules
- 29
- distinct callers
- in loop
- 7%
- of prod calls
- in tests
- 29%
- 151 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 Duration.AsDuration from notable Go projects. Open one on the map to see what else it hammers.
where it's called
Callsites in the wild
12 representative callsites of 527, prioritizing in-loop and non-test usage. We link to source, never display it.
-
GoogleContainerTools/skaffold/v2 @v2.25.0
fs/assets/credits_generated/github.com/letsencrypt/boulder/core/util.go:296 ↗
in loop - in loop
-
crossplane/crossplane @v1.20.15
internal/controller/apiextensions/composite/composition_functions.go:332 ↗
in loop - in loop
- in loop
-
istio.io/istio @v0.0.0-20261130141945-e2c03581f6cc
pilot/pkg/security/authn/policy_applier.go:234
in loop -
google.golang.org/grpc @v1.85.0
internal/xds/xdsclient/xdsresource/unmarshal_rds.go:405
in loop -
istio/istio @v0.0.0-20261130141945-e2c03581f6cc
in loop - in loop
- in loop
-
istio.io/istio @v0.0.0-20261130141945-e2c03581f6cc
pilot/pkg/security/authn/policy_applier.go:256
in loop - in loop
top callers
The modules that reach for it
The modules that call Duration.AsDuration most in this snapshot.
- go.temporal.io/server20839%
- github.com/envoyproxy/go-control-plane/envoy14127%
- github.com/temporalio/temporal377%
- github.com/istio/istio194%
- istio.io/istio194%
siblings
More from google.golang.org/protobuf/types/known/durationpb
The other most-called members in this package. See all →