bytes.NewBufferString
standard libraryThe 1009th most-called standard-library function by production calls. Called 3,937 times across 409 modules; 645 of those run outside tests and generated code.
- prod calls
- 645
- non-test, non-generated
- all calls
- 3,937
- total callsites
- modules
- 409
- distinct callers
- in loop
- 7%
- of prod calls
- in tests
- 84%
- 3,291 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 NewBufferString from notable Go projects. Open one on the map to see what else it hammers.
- Helm 48 7%
- TiDB 33 5%
- Kubernetes 18 3%
- Grafana 12 2%
- GitHub CLI 11 2%
where it's called
Callsites in the wild
12 representative callsites of 3,937, prioritizing in-loop and non-test usage. We link to source, never display it.
- in loop
-
etcd-io/etcd @v2.3.8+incompatible
in loop -
coreos/etcd @v2.3.8+incompatible
in loop - in loop
-
gocql/gocql @v1.7.0
in loop - in loop
-
gruntwork-io/terragrunt @v1.1.2
internal/cli/commands/aws-provider-patch/aws-provider-patch.go:155 ↗
in loop - in loop
-
kubesphere/kubesphere @v0.0.0-20260715011438-04a29b5c6014
in loop -
mdp/qrterminal/v3 @v3.2.1
in loop - in loop
-
ory/kratos @v1.3.1
in loop
top callers
The modules that reach for it
The modules that call NewBufferString most in this snapshot.
- github.com/googleapis/mcp-toolbox1694%
- github.com/valyala/fasthttp1504%
- github.com/cortexproject/cortex1163%
- github.com/go-openapi/runtime922%
- github.com/spdx/tools-golang922%
siblings
More from bytes
The other most-called functions in this package. See all →