fix typor
This commit is contained in:
parent
321f782c89
commit
a4977f8cae
2
gorm.go
2
gorm.go
@ -209,7 +209,7 @@ func Open(dialector Dialector, opts ...Option) (db *DB, err error) {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
func (db *DB) Close() error {
|
func Close(db *DB) error {
|
||||||
|
|
||||||
db.cacheStore.Delete(preparedStmtDBKey)
|
db.cacheStore.Delete(preparedStmtDBKey)
|
||||||
return close(db.ConnPool)
|
return close(db.ConnPool)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user