Skip to content
callcount

text/scanner.Scanner.Next

standard library

The 6025th most-called standard-library method by production calls. Called 99 times across 12 modules; 99 of those run outside tests and generated code.

All of text/scanner → Docs on pkg.go.dev ↗

prod calls
99
non-test, non-generated
all calls
99
total callsites
modules
12
distinct callers
in loop
65%
of prod calls
in tests
0%
0 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 method92%A method on a value whose type is known exactly.
  • Embedded method8%Reached through an embedded type.

who calls this

Notable callers

Production calls into Scanner.Next 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 99, 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 Scanner.Next most in this snapshot.

  • github.com/earthly/earthly2626%
  • github.com/dagger/dagger2424%
  • github.com/moby/buildkit2323%
  • github.com/grafana/tempo55%
  • github.com/moby/patternmatcher44%

siblings

More from text/scanner

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