优化本地数据库关闭相关代码

This commit is contained in:
刘祥超
2023-06-23 21:32:38 +08:00
parent 032c118f49
commit 7fd8d7756b
5 changed files with 147 additions and 27 deletions

View File

@@ -0,0 +1,7 @@
// Copyright 2023 GoEdge CDN goedge.cdn@gmail.com. All rights reserved. Official site: https://goedge.cn .
package dbs
func IsClosedErr(err error) bool {
return err == errDBIsClosed
}