io.Closer.Close
standard libraryThe 52nd most-called standard-library method by production calls. Called 58,820 times across 975 modules; 19,736 of those run outside tests and generated code.
1% in production calls vs 2026-W39 (19,615 → 19,736)
- prod calls
- 19,736
- non-test, non-generated
- all calls
- 58,820
- total callsites
- modules
- 975
- distinct callers
- in loop
- 8%
- of prod calls
- in tests
- 17%
- 10,128 calls
- resolved
- 0%
- 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 →
- Embedded method<1%Reached through an embedded type.
- Interface method100%Called through an interface. The runtime target may differ.
- Method value<1%A method captured as a value, then called.
who calls this
Notable callers
Production calls into Closer.Close from notable Go projects. Open one on the map to see what else it hammers.
- containerd 582 3%
- Kubernetes 405 2%
- Docker 389 2%
- Grafana 306 2%
- HashiCorp 293 1%
where it's called
Callsites in the wild
12 representative callsites of 58,820, prioritizing in-loop and non-test usage. We link to source, never display it.
- in loop
- in loop
-
go/standard @v0.1.0
xio/xio.go:139
in loop - in loop
-
charm.land/catwalk @v0.52.57
cmd/cortecs/main.go:102
in loop - in loop
-
go/compute/metadata @v0.10.0
metadata.go:552
in loop -
go/storage @v1.68.0
http_client.go:1541
in loop -
cockroachdb/cockroach @v19.2.12+incompatible
in loop -
miekg/dns @v0.6.117
cmd/atomdns/handlers/global/overload.go:27
in loop - in loop
- in loop
top callers
The modules that reach for it
The modules that call Closer.Close most in this snapshot.
- google.golang.org/api27,00646%
- github.com/labd/commercetools-go-sdk8982%
- github.com/elastic/go-elasticsearch/v88761%
- github.com/dapr/dapr5991%
- github.com/okta/okta-sdk-golang/v55901%
siblings
More from io
The other most-called members in this package. See all →