testing.TB.Fatal
standard libraryThe 869th most-called standard-library method by production calls. Called 2,349 times across 158 modules; 774 of those run outside tests and generated code.
- prod calls
- 774
- non-test, non-generated
- all calls
- 2,349
- total callsites
- modules
- 158
- distinct callers
- in loop
- 9%
- of prod calls
- in tests
- 67%
- 1,575 calls
- resolved
- 6%
- 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 →
- Embedded method6%Reached through an embedded type.
- Interface method94%Called through an interface. The runtime target may differ.
who calls this
Notable callers
Production calls into TB.Fatal from notable Go projects. Open one on the map to see what else it hammers.
- Vault 155 20%
- Docker 118 15%
- HashiCorp 64 8%
- Kubernetes 46 6%
- CockroachDB 39 5%
where it's called
Callsites in the wild
12 representative callsites of 2,349, prioritizing in-loop and non-test usage. We link to source, never display it.
- in loop
-
cockroachdb/cockroach @v19.2.12+incompatible
in loop -
docker/docker @v28.5.2+incompatible
in loop - in loop
-
jackc/pgx @v3.6.2+incompatible
in loop -
jetify-com/devbox @v0.0.0-20260805034207-9f08bf57c802
in loop - in loop
- in loop
- in loop
- in loop
- in loop
-
x/tools @v0.48.0
internal/testfiles/testfiles.go:59
in loop
top callers
The modules that reach for it
The modules that call TB.Fatal most in this snapshot.
- github.com/pocketbase/pocketbase29713%
- github.com/cockroachdb/cockroach2139%
- github.com/hashicorp/vault2019%
- golang.org/x/net1105%
- github.com/restic/restic994%
siblings
More from testing
The other most-called members in this package. See all →