Skip to content
callcount

strings.Repeat

standard library

The 331st most-called standard-library function by production calls. Called 16,187 times across 756 modules; 2,906 of those run outside tests and generated code.

0% in production calls vs 2026-W48 (2,903 → 2,906)

All of strings → Docs on pkg.go.dev ↗

prod calls
2,906
non-test, non-generated
all calls
16,187
total callsites
modules
756
distinct callers
in loop
26%
of prod calls
in tests
82%
13,275 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.

where it's called

Callsites in the wild

12 representative callsites of 16,187, prioritizing in-loop and non-test usage. We link to source, never display it.

Repeat · 12 of 16,187 callsites

top callers

The modules that reach for it

The modules that call Repeat most in this snapshot.

  • github.com/kubernetes/kubernetes1,0316%
  • github.com/Tencent/WeKnora8635%
  • github.com/esengine/DeepSeek-Reasonix6824%
  • github.com/photoprism/photoprism5093%
  • github.com/infiniflow/ragflow4213%

siblings

More from strings

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