unicode/utf8.DecodeRune
standard libraryThe 1659th most-called standard-library function by production calls. Called 399 times across 127 modules; 371 of those run outside tests and generated code.
- prod calls
- 371
- non-test, non-generated
- all calls
- 399
- total callsites
- modules
- 127
- distinct callers
- in loop
- 66%
- of prod calls
- in tests
- 5%
- 19 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 →
- Package function100%A direct call to an exported package function, resolved by type.
who calls this
Notable callers
Production calls into DecodeRune from notable Go projects. Open one on the map to see what else it hammers.
- Go (golang.org/x) 54 15%
- Hugo 13 4%
- Grafana 10 3%
- Kubernetes 8 2%
- Gitea 6 2%
where it's called
Callsites in the wild
12 representative callsites of 399, prioritizing in-loop and non-test usage. We link to source, never display it.
- in loop
-
glamour/v2 @v2.0.1
ansi/margin.go:97
in loop - in loop
-
moby/moby @v28.5.2+incompatible
in loop - in loop
-
gitea.dev @v1.27.1
modules/markup/markdown/meta.go:19
in loop -
GoogleContainerTools/skaffold/v2 @v2.24.0
fs/assets/credits_generated/github.com/hashicorp/hcl/lex.go:26 ↗
in loop - in loop
- in loop
- in loop
-
antonmedv/fx @v0.0.0-20260728113644-63eb255ad014
in loop - in loop
top callers
The modules that reach for it
The modules that call DecodeRune most in this snapshot.
- github.com/blevesearch/segment3910%
- golang.org/x/text3810%
- github.com/sourcegraph/sourcegraph-public-snapshot164%
- github.com/gohugoio/hugo133%
- github.com/rivo/uniseg133%
siblings
More from unicode/utf8
The other most-called functions in this package. See all →