testing.TB.Fatalf
standard libraryThe 693rd most-called standard-library method by production calls. Called 3,220 times across 192 modules; 1,055 of those run outside tests and generated code.
No change in production calls since 2026-W39.
- prod calls
- 1,055
- non-test, non-generated
- all calls
- 3,220
- total callsites
- modules
- 192
- distinct callers
- in loop
- 12%
- of prod calls
- in tests
- 67%
- 2,165 calls
- resolved
- 3%
- 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 method3%Reached through an embedded type.
- Interface method97%Called through an interface. The runtime target may differ.
- Method value<1%A method captured as a value, then called.
who calls this
Notable callers
Production calls into TB.Fatalf from notable Go projects. Open one on the map to see what else it hammers.
- Vault 107 10%
- Tailscale 103 10%
- Nomad 55 5%
- Kubernetes 53 5%
- Docker 48 5%
where it's called
Callsites in the wild
12 representative callsites of 3,220, prioritizing in-loop and non-test usage. We link to source, never display it.
-
cilium/cilium @v1.20.2
in loop -
cockroachdb/cockroach @v19.2.12+incompatible
in loop -
moby/moby @v28.5.2+incompatible
in loop - in loop
- in loop
- in loop
- in loop
-
lib/pq @v1.12.3
in loop - in loop
-
pion/transport/v4 @v4.1.1
in loop - in loop
-
seaweedfs/seaweedfs @v0.0.0-20260928104011-150a69fe11f4
in loop
top callers
The modules that reach for it
The modules that call TB.Fatalf most in this snapshot.
- golang.org/x/net2267%
- github.com/pocketbase/pocketbase1906%
- github.com/tailscale/tailscale1846%
- tailscale.com1846%
- github.com/hashicorp/vault1595%
siblings
More from testing
The other most-called members in this package. See all →