refactor: call database functions from app.Server.Database instead of directly from db
This commit is contained in:
@ -12,8 +12,6 @@ import (
|
||||
"strings"
|
||||
)
|
||||
|
||||
var DB Database
|
||||
|
||||
type mySQLdb struct {
|
||||
*gorm.DB
|
||||
}
|
||||
|
Reference in New Issue
Block a user