Skip to content
callcount

golang.org/x/text/encoding.Encoding.NewDecoder

third-party

The 7302nd most-called third-party method by production calls. Called 152 times across 48 modules; 83 of those run outside tests and generated code.

0% in production calls vs 2026-W39 (0 → 83)

All of golang.org/x/text/encoding → Docs on pkg.go.dev ↗

prod calls
83
non-test, non-generated
all calls
152
total callsites
modules
48
distinct callers
in loop
6%
of prod calls
in tests
45%
69 calls
resolved
1%
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 method<1%Reached through an embedded type.
  • Interface method99%Called through an interface. The runtime target may differ.

who calls this

Notable callers

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

Encoding.NewDecoder · 12 of 152 callsites

top callers

The modules that reach for it

The modules that call Encoding.NewDecoder most in this snapshot.

  • golang.org/x/text5838%
  • github.com/esengine/DeepSeek-Reasonix1510%
  • github.com/wader/fq64%
  • github.com/future-architect/vuls53%
  • github.com/influxdata/telegraf43%