strings.LastIndexByte
standard libraryThe 1682nd most-called standard-library function by production calls. Called 400 times across 163 modules; 365 of those run outside tests and generated code.
- prod calls
- 365
- non-test, non-generated
- all calls
- 400
- total callsites
- modules
- 163
- distinct callers
- in loop
- 23%
- of prod calls
- in tests
- 8%
- 30 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 LastIndexByte from notable Go projects. Open one on the map to see what else it hammers.
- CockroachDB 12 3%
- Kubernetes 11 3%
- Gitea 10 3%
- Go (golang.org/x) 8 2%
- Grafana 7 2%
where it's called
Callsites in the wild
12 representative callsites of 400, prioritizing in-loop and non-test usage. We link to source, never display it.
-
log/v2 @v2.0.0
logger.go:211
in loop -
cockroachdb/cockroach @v19.2.12+incompatible
in loop -
moby/buildkit @v0.32.2
in loop - in loop
-
gitea.dev @v1.27.1
services/gitdiff/highlightdiff.go:286
in loop -
AlexxIT/go2rtc @v1.9.14
in loop - in loop
- in loop
-
charmbracelet/log @v1.0.0
in loop - in loop
- in loop
- in loop
top callers
The modules that reach for it
The modules that call LastIndexByte most in this snapshot.
- github.com/kataras/iris/v12154%
- gitea.dev133%
- github.com/go-gitea/gitea133%
- github.com/microsoft/typescript-go133%
- github.com/evanw/esbuild123%
siblings
More from strings
The other most-called functions in this package. See all →