chore: run gofumpt

This commit is contained in:
Matthew Penner
2022-10-05 17:24:11 -06:00
parent 984bd10cf2
commit 3f481e9540
14 changed files with 32 additions and 17 deletions

View File

@@ -1,6 +1,9 @@
package database
import (
"path/filepath"
"time"
"emperror.dev/errors"
"github.com/glebarez/sqlite"
"github.com/pterodactyl/wings/config"
@@ -8,12 +11,12 @@ import (
"github.com/pterodactyl/wings/system"
"gorm.io/gorm"
"gorm.io/gorm/logger"
"path/filepath"
"time"
)
var o system.AtomicBool
var db *gorm.DB
var (
o system.AtomicBool
db *gorm.DB
)
// Initialize configures the local SQLite database for Wings and ensures that the models have
// been fully migrated.