Skip to content
callcount

bufio.Writer.WriteString

standard library

The 1097th most-called standard-library method by production calls. Called 654 times across 115 modules; 587 of those run outside tests and generated code.

All of bufio → Docs on pkg.go.dev ↗

prod calls
587
non-test, non-generated
all calls
654
total callsites
modules
115
distinct callers
in loop
29%
of prod calls
in tests
10%
66 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 method84%A method on a value whose type is known exactly.
  • Embedded method16%Reached through an embedded type.

who calls this

Notable callers

Production calls into Writer.WriteString 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 654, prioritizing in-loop and non-test usage. We link to source, never display it.

Writer.WriteString · 12 of 654 callsites

top callers

The modules that reach for it

The modules that call Writer.WriteString most in this snapshot.

  • tailscale.com477%
  • golang.org/x/net467%
  • github.com/sagernet/tailscale447%
  • github.com/tailscale/tailscale447%
  • github.com/gobwas/ws426%

siblings

More from bufio

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