golang.org/x/sync/errgroup.WithContext
third-partyThe 754th most-called third-party function by production calls. Called 1,091 times across 165 modules; 915 of those run outside tests and generated code.
2% in production calls vs 2026-W37 (897 → 915)
- prod calls
- 915
- non-test, non-generated
- all calls
- 1,091
- total callsites
- modules
- 165
- distinct callers
- in loop
- 2%
- of prod calls
- in tests
- 16%
- 176 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 5%
- CockroachDB 22 2%
- Istio 20 2%
where it's called
Callsites in the wild
12 representative callsites of 1,091, 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
-
loft-sh/vcluster @v0.37.1
in loop -
rclone/rclone @v1.75.1
in loop - in loop
-
gohugoio/hugo @v0.166.0
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/buildkit807%
- github.com/grafana/pyroscope737%
- github.com/dagger/dagger575%
- github.com/gruntwork-io/terragrunt494%
- github.com/grafana/loki/v3424%
siblings
More from golang.org/x/sync/errgroup
The other most-called functions in this package. See all →