strings.TrimRight
standard libraryThe 422nd most-called standard-library function by production calls. Called 2,379 times across 483 modules; 1,975 of those run outside tests and generated code.
- prod calls
- 1,975
- non-test, non-generated
- all calls
- 2,379
- total callsites
- modules
- 483
- distinct callers
- in loop
- 21%
- of prod calls
- in tests
- 11%
- 268 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 TrimRight from notable Go projects. Open one on the map to see what else it hammers.
- Kubernetes 73 4%
- Argo 32 2%
- Cilium 18 <1%
- Grafana 17 <1%
- InfluxDB 17 <1%
where it's called
Callsites in the wild
12 representative callsites of 2,379, prioritizing in-loop and non-test usage. We link to source, never display it.
- in loop
- in loop
-
lipgloss/v2 @v2.0.5
table/table.go:457
in loop - in loop
-
cockroachdb/cockroach @v19.2.12+incompatible
in loop - in loop
- in loop
-
encr.dev @v1.57.13
pkg/errinsrc/srcrender.go:134
in loop - in loop
- in loop
-
gitea.dev @v1.27.1
services/webhook/dingtalk.go:83
in loop - in loop
top callers
The modules that reach for it
The modules that call TrimRight most in this snapshot.
- github.com/esengine/DeepSeek-Reasonix1456%
- github.com/bytebase/bytebase833%
- github.com/larksuite/cli643%
- github.com/chenhg5/cc-connect592%
- github.com/Tencent/WeKnora522%
siblings
More from strings
The other most-called functions in this package. See all →