github.com/pkg/errors.Errorf
third-partyThe 88th most-called third-party function by production calls. Called 14,263 times across 99 modules; 12,747 of those run outside tests and generated code.
- prod calls
- 12,747
- non-test, non-generated
- all calls
- 14,263
- total callsites
- modules
- 99
- distinct callers
- in loop
- 19%
- of prod calls
- in tests
- 11%
- 1,514 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 function76%A direct call to an exported package function, resolved by type.
- Package function (by syntax)24%A package function in a module outside the crawl, keyed by import path.
who calls this
Notable callers
Production calls into Errorf from notable Go projects. Open one on the map to see what else it hammers.
- Dgraph 1,431 11%
- Docker 1,183 9%
- CockroachDB 1,000 8%
- Grafana 288 2%
- Velero 219 2%
where it's called
Callsites in the wild
12 representative callsites of 14,263, 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
- in loop
-
Mrs4s/MiraiGo @v0.0.0-20240226124653-54bdd873e3fe
in loop -
Netflix/chaosmonkey @v0.0.0-20230120165304-3f8c23f85f2e
in loop -
apex/up @v1.7.1
in loop -
astaxie/beego @v1.12.3
in loop - in loop
top callers
The modules that reach for it
The modules that call Errorf most in this snapshot.
- github.com/bytebase/bytebase2,23216%
- github.com/cockroachdb/cockroach1,68012%
- github.com/moby/buildkit8716%
- github.com/dgraph-io/dgraph/v248136%
- github.com/hypermodeinc/dgraph/v248136%
siblings
More from github.com/pkg/errors
The other most-called functions in this package. See all →