io.Closer.Close
standard libraryThe 51st most-called standard-library method by production calls. Called 56,647 times across 975 modules; 19,146 of those run outside tests and generated code.
- prod calls
- 19,146
- non-test, non-generated
- all calls
- 56,647
- total callsites
- modules
- 975
- distinct callers
- in loop
- 8%
- of prod calls
- in tests
- 16%
- 8,955 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 578 3%
- Kubernetes 399 2%
- Docker 389 2%
- Grafana 307 2%
- HashiCorp 291 2%
where it's called
Callsites in the wild
12 representative callsites of 56,647, 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.51.13
cmd/cortecs/main.go:102
in loop - in loop
-
go/compute/metadata @v0.9.0
metadata.go:552
in loop -
go/storage @v1.64.0
http_client.go:1527
in loop -
cockroachdb/cockroach @v19.2.12+incompatible
in loop -
miekg/dns @v0.6.90
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/api26,57547%
- github.com/elastic/go-elasticsearch/v88762%
- github.com/labd/commercetools-go-sdk8471%
- github.com/okta/okta-sdk-golang/v55901%
- github.com/dapr/dapr5851%
siblings
More from io
The other most-called members in this package. See all →