refactor: call database functions from app.Server.Database instead of directly from db

This commit is contained in:
2024-08-19 21:00:46 +07:00
parent 6a183f2c4e
commit fa2f4e8a87
18 changed files with 69 additions and 63 deletions

View File

@ -12,8 +12,6 @@ import (
"strings"
)
var DB Database
type mySQLdb struct {
*gorm.DB
}