Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/go-dev-frame/sponge
/ closeDB
Function
closeDB
pkg/sql2code/parser/postgresql.go:167–173 ·
view source on GitHub ↗
(db *gorm.DB)
Source
from the content-addressed store, hash-verified
165
}
166
167
func
closeDB(db *gorm.DB) {
168
sqlDB, err := db.DB()
169
if
err != nil {
170
return
171
}
172
_ = sqlDB.Close()
173
}
Callers
1
GetPostgresqlTableInfo
Function · 0.85
Calls
1
Close
Method · 0.65
Tested by
no test coverage detected