Skip to content
callcount

github.com/cockroachdb/errors.Safe

third-party

The 1873rd most-called third-party function by production calls. Called 335 times across 7 modules; 328 of those run outside tests and generated code.

All of github.com/cockroachdb/errors → Docs on pkg.go.dev ↗

prod calls
328
non-test, non-generated
all calls
335
total callsites
modules
7
distinct callers
in loop
28%
of prod calls
in tests
2%
7 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<1%A direct call to an exported package function, resolved by type.
  • Package function (by syntax)99%A package function in a module outside the crawl, keyed by import path.

who calls this

Notable callers

Production calls into Safe from notable Go projects. Open one on the map to see what else it hammers.

where it's called

Callsites in the wild

12 representative callsites of 335, prioritizing in-loop and non-test usage. We link to source, never display it.

top callers

The modules that reach for it

The modules that call Safe most in this snapshot.

  • github.com/cockroachdb/pebble/v215947%
  • github.com/cockroachdb/cockroach13540%
  • github.com/auxten/postgresql-parser3310%
  • github.com/cockroachdb/errors3<1%
  • encr.dev2<1%

siblings

More from github.com/cockroachdb/errors

The other most-called functions in this package. See all →