strings.Repeat
standard libraryThe 319th most-called standard-library function by production calls. Called 11,770 times across 724 modules; 2,782 of those run outside tests and generated code.
1% in production calls vs 2026-W37 (2,759 → 2,782)
- prod calls
- 2,782
- non-test, non-generated
- all calls
- 11,770
- total callsites
- modules
- 724
- distinct callers
- in loop
- 26%
- of prod calls
- in tests
- 76%
- 8,982 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 Repeat from notable Go projects. Open one on the map to see what else it hammers.
- Kubernetes 138 5%
- Terraform 45 2%
- Docker 39 1%
- Cilium 28 1%
- Grafana 25 <1%
where it's called
Callsites in the wild
12 representative callsites of 11,770, prioritizing in-loop and non-test usage. We link to source, never display it.
- in loop
- in loop
-
cdr.dev/slog @v1.6.1
internal/entryhuman/entry.go:185
in loop -
bubbles/v2 @v2.2.1
list/list.go:1223
in loop -
fang/v2 @v2.0.1
help.go:453
in loop -
glamour/v2 @v2.0.1
ansi/margin.go:107
in loop -
lipgloss/v2 @v2.0.6
align.go:25
in loop - in loop
-
cockroachdb/cockroach @v19.2.12+incompatible
in loop - in loop
- in loop
-
dgraph-io/dgraph/v24 @v24.1.9
in loop
top callers
The modules that reach for it
The modules that call Repeat most in this snapshot.
- github.com/kubernetes/kubernetes8547%
- github.com/esengine/DeepSeek-Reasonix6175%
- k8s.io/kubernetes3813%
- github.com/Tencent/WeKnora2672%
- k8s.io/code-generator2012%
siblings
More from strings
The other most-called functions in this package. See all →