database/sql.Stmt.Close
standard libraryThe 3877th most-called standard-library method by production calls. Called 420 times across 57 modules; 153 of those run outside tests and generated code.
- prod calls
- 153
- non-test, non-generated
- all calls
- 420
- total callsites
- modules
- 57
- distinct callers
- in loop
- 10%
- of prod calls
- in tests
- 40%
- 170 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 420, prioritizing in-loop and non-test usage. We link to source, never display it.
- 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
- in loop
top callers
The modules that reach for it
The modules that call Stmt.Close most in this snapshot.
- github.com/SAP/go-hdb399%
- github.com/charmbracelet/crush379%
- github.com/sqlc-dev/sqlc328%
- github.com/owncast/owncast317%
- github.com/drakkan/sftpgo256%
siblings
More from database/sql
The other most-called members in this package. See all →