golang.org/x/sync/errgroup.WithContext
third-partyThe 770th most-called third-party function by production calls. Called 1,048 times across 160 modules; 889 of those run outside tests and generated code.
- prod calls
- 889
- non-test, non-generated
- all calls
- 1,048
- total callsites
- modules
- 160
- distinct callers
- in loop
- 2%
- of prod calls
- in tests
- 15%
- 159 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 function94%A direct call to an exported package function, resolved by type.
- Package function (by syntax)6%A package function in a module outside the crawl, keyed by import path.
who calls this
Notable callers
Production calls into WithContext from notable Go projects. Open one on the map to see what else it hammers.
- Grafana 127 14%
- Docker 93 10%
- containerd 49 6%
- CockroachDB 22 2%
- Istio 20 2%
where it's called
Callsites in the wild
12 representative callsites of 1,048, prioritizing in-loop and non-test usage. We link to source, never display it.
-
cockroachdb/cockroach @v19.2.12+incompatible
in loop - in loop
- in loop
- in loop
- in loop
- in loop
-
rclone/rclone @v1.75.0
in loop - in loop
-
gohugoio/hugo @v0.164.0
in loop - in loop
- in loop
- in loop
top callers
The modules that reach for it
The modules that call WithContext most in this snapshot.
- github.com/moby/buildkit798%
- github.com/grafana/pyroscope737%
- github.com/dagger/dagger575%
- github.com/grafana/loki/v3424%
- github.com/gruntwork-io/terragrunt374%
siblings
More from golang.org/x/sync/errgroup
The other most-called functions in this package. See all →