golang.org/x/xerrors.New
third-partyThe 1300th most-called third-party function by production calls. Called 521 times across 17 modules; 474 of those run outside tests and generated code.
- prod calls
- 474
- non-test, non-generated
- all calls
- 521
- total callsites
- modules
- 17
- distinct callers
- in loop
- 12%
- of prod calls
- in tests
- 9%
- 47 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 function100%A direct call to an exported package function, resolved by type.
where it's called
Callsites in the wild
12 representative callsites of 521, prioritizing in-loop and non-test usage. We link to source, never display it.
- in loop
- in loop
- in loop
-
knqyf263/go-rpmdb @v0.1.1
in loop -
masahiro331/go-disk @v0.0.0-20260423015231-f7a470ebd472
in loop -
masahiro331/go-ext4-filesystem @v0.0.0-20260423010602-fe51f5b5e52b
in loop - in loop
- in loop
- in loop
-
knqyf263/go-rpmdb @v0.1.1
in loop -
masahiro331/go-ext4-filesystem @v0.0.0-20260423010602-fe51f5b5e52b
in loop - in loop
top callers
The modules that reach for it
The modules that call New most in this snapshot.
- github.com/coder/coder23245%
- github.com/aquasecurity/trivy11622%
- github.com/future-architect/vuls6512%
- github.com/knqyf263/go-rpmdb357%
- github.com/coder/wgtunnel214%
siblings
More from golang.org/x/xerrors
The other most-called functions in this package. See all →