bufio.Reader.Peek
standard libraryThe 1978th most-called standard-library method by production calls. Called 328 times across 125 modules; 309 of those run outside tests and generated code.
- prod calls
- 309
- non-test, non-generated
- all calls
- 328
- total callsites
- modules
- 125
- distinct callers
- in loop
- 23%
- of prod calls
- in tests
- 5%
- 16 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 →
- Concrete method99%A method on a value whose type is known exactly.
- Embedded method<1%Reached through an embedded type.
who calls this
Notable callers
Production calls into Reader.Peek from notable Go projects. Open one on the map to see what else it hammers.
- OpenTelemetry 16 5%
- Docker 12 4%
- Vault 8 3%
- Dgraph 7 2%
- containerd 6 2%
where it's called
Callsites in the wild
12 representative callsites of 328, prioritizing in-loop and non-test usage. We link to source, never display it.
-
filippo.io/age @v1.3.1
internal/format/format.go:250
in loop - in loop
- in loop
- in loop
-
ardanlabs/gotraining @v0.0.0-20260512011504-4ae5a46bfc66
in loop - in loop
- in loop
- in loop
-
charmbracelet/ultraviolet @v0.0.0-20260803092147-8b693049ce2a
in loop -
charmbracelet/x/ansi @v0.11.7
sixel/decoder.go:37
in loop -
coder/coder @v0.27.3
in loop -
coreos/go-systemd @v0.0.0-20191104093116-d3cd4ed1dbcf
in loop
top callers
The modules that reach for it
The modules that call Reader.Peek most in this snapshot.
- github.com/uber/tchannel-go165%
- go.opentelemetry.io/otel/exporters/jaeger165%
- github.com/uber-go/tally155%
- github.com/redis/go-redis/v9134%
- github.com/imroc/req/v3103%
siblings
More from bufio
The other most-called members in this package. See all →