github.com/cockroachdb/errors.Errorf
third-partyThe 540th most-called third-party function by production calls. Called 1,621 times across 8 modules; 1,434 of those run outside tests and generated code.
- prod calls
- 1,434
- non-test, non-generated
- all calls
- 1,621
- total callsites
- modules
- 8
- distinct callers
- in loop
- 23%
- of prod calls
- in tests
- 12%
- 187 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 function (by syntax)100%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.
- CockroachDB 644 45%
- Longhorn 61 4%
where it's called
Callsites in the wild
12 representative callsites of 1,621, prioritizing in-loop and non-test usage. We link to source, never display it.
- in loop
-
encr.dev @v1.57.13
pkg/dockerbuild/spec.go:299
in loop - in loop
- in loop
- in loop
-
sourcegraph/sourcegraph-public-snapshot @v0.0.0
enterprise/cmd/worker/internal/executorqueue/queue_allocation.go:21 ↗
in loop - in loop
- in loop
-
encr.dev @v1.57.13
pkg/dockerbuild/spec.go:373
in loop - in loop
- in loop
- in loop
top callers
The modules that reach for it
The modules that call Errorf most in this snapshot.
- github.com/sourcegraph/sourcegraph-public-snapshot74046%
- github.com/cockroachdb/cockroach47229%
- github.com/cockroachdb/pebble/v226716%
- github.com/longhorn/longhorn-manager624%
- github.com/auxten/postgresql-parser523%
siblings
More from github.com/cockroachdb/errors
The other most-called functions in this package. See all →