add .Close() method to interface and all implementations.

This commit is contained in:
fiatjaf
2023-11-05 10:39:41 -03:00
parent 8c0fd4c760
commit 03517317f8
5 changed files with 17 additions and 0 deletions

View File

@@ -13,3 +13,7 @@ type MySQLBackend struct {
QueryKindsLimit int
QueryTagsLimit int
}
func (b *MySQLBackend) Close() {
b.DB.Close()
}