strings.TrimRightFunc
standard libraryThe 3046th most-called standard-library function by production calls. Called 205 times across 90 modules; 196 of those run outside tests and generated code.
1% in production calls vs 2026-W37 (195 → 196)
- prod calls
- 196
- non-test, non-generated
- all calls
- 205
- total callsites
- modules
- 90
- distinct callers
- in loop
- 28%
- of prod calls
- in tests
- 4%
- 9 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 TrimRightFunc from notable Go projects. Open one on the map to see what else it hammers.
- HashiCorp 4 2%
- Kubernetes 4 2%
- Tailscale 4 2%
- InfluxDB 3 2%
- Terraform 3 2%
where it's called
Callsites in the wild
12 representative callsites of 205, prioritizing in-loop and non-test usage. We link to source, never display it.
-
AlexxIT/go2rtc @v1.9.14
in loop - in loop
- in loop
- in loop
- in loop
-
dagger/dagger @v0.21.8
in loop - in loop
-
go-mysql-org/go-mysql @v1.16.0
in loop - in loop
- in loop
-
google/cel-go @v0.30.0
in loop -
henrygd/beszel @v0.20.0
in loop
top callers
The modules that reach for it
The modules that call TrimRightFunc most in this snapshot.
- github.com/ollama/ollama3015%
- github.com/bytebase/bytebase2211%
- github.com/microsoft/typescript-go73%
- github.com/sagernet/tailscale42%
- github.com/tailscale/tailscale42%
siblings
More from strings
The other most-called functions in this package. See all →