strings.Repeat
standard libraryThe 329th most-called standard-library function by production calls. Called 9,811 times across 702 modules; 2,683 of those run outside tests and generated code.
- prod calls
- 2,683
- non-test, non-generated
- all calls
- 9,811
- total callsites
- modules
- 702
- distinct callers
- in loop
- 26%
- of prod calls
- in tests
- 73%
- 7,123 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 111 4%
- Terraform 45 2%
- Docker 38 1%
- Cilium 28 1%
- Grafana 25 <1%
where it's called
Callsites in the wild
12 representative callsites of 9,811, prioritizing in-loop and non-test usage. We link to source, never display it.
- in loop
-
cdr.dev/slog @v1.6.1
internal/entryhuman/entry.go:185
in loop -
bubbles/v2 @v2.1.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.5
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 -
docker/cli @v29.7.1+incompatible
in loop
top callers
The modules that reach for it
The modules that call Repeat most in this snapshot.
- github.com/kubernetes/kubernetes8068%
- k8s.io/kubernetes2963%
- github.com/esengine/DeepSeek-Reasonix2563%
- k8s.io/code-generator1962%
- golang.org/x/text1471%
siblings
More from strings
The other most-called functions in this package. See all →