strings.NewReader
standard libraryThe 339th most-called standard-library function by production calls. Called 14,808 times across 871 modules; 2,598 of those run outside tests and generated code.
1% in production calls vs 2026-W37 (2,578 → 2,598)
- prod calls
- 2,598
- non-test, non-generated
- all calls
- 14,808
- total callsites
- modules
- 871
- distinct callers
- in loop
- 8%
- of prod calls
- in tests
- 82%
- 12,175 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 NewReader from notable Go projects. Open one on the map to see what else it hammers.
- Kubernetes 60 2%
- Gitea 57 2%
- Docker 51 2%
- Grafana 49 2%
- InfluxDB 32 1%
where it's called
Callsites in the wild
12 representative callsites of 14,808, prioritizing in-loop and non-test usage. We link to source, never display it.
- in loop
- in loop
- in loop
- in loop
- in loop
-
docker/cli @v29.8.1+incompatible
in loop -
encr.dev @v1.58.6
pkg/clientgen/javascript.go:200
in loop - in loop
-
gitea.dev @v1.27.3
tests/integration/api_repo_file_helpers.go:51
in loop - in loop
-
Tencent/WeKnora @v0.8.0
internal/application/repository/retriever/elasticsearch/v7/repository.go:1431 ↗
in loop -
adnanh/webhook @v0.0.0-20260904180256-2bbdeb9f90b5
in loop
top callers
The modules that reach for it
The modules that call NewReader most in this snapshot.
- github.com/pocketbase/pocketbase3612%
- github.com/kubernetes/kubernetes3522%
- gitea.dev3432%
- github.com/go-gitea/gitea3432%
- github.com/aliyun/aliyun-oss-go-sdk2792%
siblings
More from strings
The other most-called functions in this package. See all →