fix typor

This commit is contained in:
baoyangchai 2022-04-10 19:09:36 +08:00
parent 321f782c89
commit a4977f8cae

View File

@ -209,7 +209,7 @@ func Open(dialector Dialector, opts ...Option) (db *DB, err error) {
return
}
func (db *DB) Close() error {
func Close(db *DB) error {
db.cacheStore.Delete(preparedStmtDBKey)
return close(db.ConnPool)