strings.NewReader
standard libraryThe 340th most-called standard-library function by production calls. Called 13,627 times across 864 modules; 2,505 of those run outside tests and generated code.
- prod calls
- 2,505
- non-test, non-generated
- all calls
- 13,627
- total callsites
- modules
- 864
- distinct callers
- in loop
- 7%
- of prod calls
- in tests
- 81%
- 11,080 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 61 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 13,627, 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.7.1+incompatible
in loop -
encr.dev @v1.57.13
pkg/clientgen/javascript.go:200
in loop - in loop
-
gitea.dev @v1.27.1
tests/integration/api_repo_file_helpers.go:51
in loop - in loop
-
Tencent/WeKnora @v0.7.1
internal/application/repository/retriever/elasticsearch/v7/repository.go:1431 ↗
in loop -
adnanh/webhook @v0.0.0-20260802140341-92742d64dbc0
in loop
top callers
The modules that reach for it
The modules that call NewReader most in this snapshot.
- github.com/pocketbase/pocketbase3583%
- github.com/kubernetes/kubernetes3503%
- gitea.dev3413%
- github.com/go-gitea/gitea3413%
- github.com/aliyun/aliyun-oss-go-sdk2792%
siblings
More from strings
The other most-called functions in this package. See all →