database/sql.Stmt.Close
standard libraryThe 3898th most-called standard-library method by production calls. Called 429 times across 58 modules; 157 of those run outside tests and generated code.
No change in production calls since 2026-W39.
- prod calls
- 157
- non-test, non-generated
- all calls
- 429
- total callsites
- modules
- 58
- distinct callers
- in loop
- 14%
- of prod calls
- in tests
- 40%
- 173 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 →
- Concrete method98%A method on a value whose type is known exactly.
- Embedded method2%Reached through an embedded type.
who calls this
Notable callers
Production calls into Stmt.Close from notable Go projects. Open one on the map to see what else it hammers.
- Vault 16 10%
- MinIO 6 4%
- InfluxDB 3 2%
- ClickHouse 2 1%
- CockroachDB 1 <1%
where it's called
Callsites in the wild
12 representative callsites of 429, prioritizing in-loop and non-test usage. We link to source, never display it.
- in loop
- in loop
- in loop
- in loop
- in loop
- in loop
-
xorm-io/xorm @v1.1.6
in loop - in loop
- in loop
-
xorm.io/xorm @v1.4.1
session.go:148
in loop - in loop
- in loop
top callers
The modules that reach for it
The modules that call Stmt.Close most in this snapshot.
- github.com/SAP/go-hdb4110%
- github.com/charmbracelet/crush399%
- github.com/sqlc-dev/sqlc327%
- github.com/owncast/owncast307%
- github.com/drakkan/sftpgo256%
siblings
More from database/sql
The other most-called members in this package. See all →