diff --git a/environment/docker/api.go b/environment/docker/api.go index cd55f18..8afdc18 100644 --- a/environment/docker/api.go +++ b/environment/docker/api.go @@ -14,6 +14,7 @@ import ( "github.com/docker/docker/client" "github.com/docker/docker/errdefs" "github.com/goccy/go-json" + "github.com/pterodactyl/wings/config" ) diff --git a/environment/docker/environment.go b/environment/docker/environment.go index f9a538c..423f2ec 100644 --- a/environment/docker/environment.go +++ b/environment/docker/environment.go @@ -10,6 +10,7 @@ import ( "github.com/apex/log" "github.com/docker/docker/api/types" "github.com/docker/docker/client" + "github.com/pterodactyl/wings/environment" "github.com/pterodactyl/wings/events" "github.com/pterodactyl/wings/remote" diff --git a/events/events.go b/events/events.go index 4f2d64a..e6c026c 100644 --- a/events/events.go +++ b/events/events.go @@ -5,6 +5,7 @@ import ( "emperror.dev/errors" "github.com/goccy/go-json" + "github.com/pterodactyl/wings/system" ) diff --git a/installer/installer.go b/installer/installer.go index e4616e0..f414918 100644 --- a/installer/installer.go +++ b/installer/installer.go @@ -5,6 +5,7 @@ import ( "emperror.dev/errors" "github.com/asaskevich/govalidator" + "github.com/pterodactyl/wings/remote" "github.com/pterodactyl/wings/server" ) diff --git a/internal/cron/activity_cron.go b/internal/cron/activity_cron.go index a993822..92a8f5c 100644 --- a/internal/cron/activity_cron.go +++ b/internal/cron/activity_cron.go @@ -4,6 +4,7 @@ import ( "context" "emperror.dev/errors" + "github.com/pterodactyl/wings/internal/database" "github.com/pterodactyl/wings/internal/models" "github.com/pterodactyl/wings/server" diff --git a/internal/cron/cron.go b/internal/cron/cron.go index 292de41..e697d81 100644 --- a/internal/cron/cron.go +++ b/internal/cron/cron.go @@ -7,6 +7,7 @@ import ( "emperror.dev/errors" log2 "github.com/apex/log" "github.com/go-co-op/gocron" + "github.com/pterodactyl/wings/config" "github.com/pterodactyl/wings/server" "github.com/pterodactyl/wings/system" diff --git a/internal/cron/sftp_cron.go b/internal/cron/sftp_cron.go index 74ef682..239e014 100644 --- a/internal/cron/sftp_cron.go +++ b/internal/cron/sftp_cron.go @@ -5,6 +5,7 @@ import ( "reflect" "emperror.dev/errors" + "github.com/pterodactyl/wings/internal/database" "github.com/pterodactyl/wings/internal/models" "github.com/pterodactyl/wings/server" diff --git a/internal/database/database.go b/internal/database/database.go index d8433c4..3fd6820 100644 --- a/internal/database/database.go +++ b/internal/database/database.go @@ -6,11 +6,12 @@ import ( "emperror.dev/errors" "github.com/glebarez/sqlite" + "gorm.io/gorm" + "gorm.io/gorm/logger" + "github.com/pterodactyl/wings/config" "github.com/pterodactyl/wings/internal/models" "github.com/pterodactyl/wings/system" - "gorm.io/gorm" - "gorm.io/gorm/logger" ) var ( diff --git a/internal/models/activity.go b/internal/models/activity.go index 1795e8a..6e32e9c 100644 --- a/internal/models/activity.go +++ b/internal/models/activity.go @@ -3,8 +3,9 @@ package models import ( "time" - "github.com/pterodactyl/wings/system" "gorm.io/gorm" + + "github.com/pterodactyl/wings/system" ) type Event string diff --git a/router/router_server.go b/router/router_server.go index 4d41cb2..0c53504 100644 --- a/router/router_server.go +++ b/router/router_server.go @@ -9,6 +9,7 @@ import ( "emperror.dev/errors" "github.com/apex/log" "github.com/gin-gonic/gin" + "github.com/pterodactyl/wings/router/downloader" "github.com/pterodactyl/wings/router/middleware" "github.com/pterodactyl/wings/router/tokens" diff --git a/router/websocket/listeners.go b/router/websocket/listeners.go index 9387c96..272c8ae 100644 --- a/router/websocket/listeners.go +++ b/router/websocket/listeners.go @@ -7,6 +7,7 @@ import ( "emperror.dev/errors" "github.com/goccy/go-json" + "github.com/pterodactyl/wings/events" "github.com/pterodactyl/wings/system" diff --git a/router/websocket/websocket.go b/router/websocket/websocket.go index 6d5cb51..95f56bd 100644 --- a/router/websocket/websocket.go +++ b/router/websocket/websocket.go @@ -17,6 +17,7 @@ import ( "github.com/goccy/go-json" "github.com/google/uuid" "github.com/gorilla/websocket" + "github.com/pterodactyl/wings/system" "github.com/pterodactyl/wings/config" diff --git a/server/activity.go b/server/activity.go index 09dc626..c1613ad 100644 --- a/server/activity.go +++ b/server/activity.go @@ -5,6 +5,7 @@ import ( "time" "emperror.dev/errors" + "github.com/pterodactyl/wings/internal/database" "github.com/pterodactyl/wings/internal/models" ) diff --git a/server/console.go b/server/console.go index ee28986..399c4a5 100644 --- a/server/console.go +++ b/server/console.go @@ -6,6 +6,7 @@ import ( "time" "github.com/mitchellh/colorstring" + "github.com/pterodactyl/wings/config" "github.com/pterodactyl/wings/system" ) diff --git a/server/install.go b/server/install.go index 797e6c4..6918919 100644 --- a/server/install.go +++ b/server/install.go @@ -18,6 +18,7 @@ import ( "github.com/docker/docker/api/types/container" "github.com/docker/docker/api/types/mount" "github.com/docker/docker/client" + "github.com/pterodactyl/wings/config" "github.com/pterodactyl/wings/environment" "github.com/pterodactyl/wings/remote" diff --git a/server/listeners.go b/server/listeners.go index 525e921..d39e664 100644 --- a/server/listeners.go +++ b/server/listeners.go @@ -8,6 +8,7 @@ import ( "time" "github.com/apex/log" + "github.com/pterodactyl/wings/events" "github.com/pterodactyl/wings/system" diff --git a/server/power.go b/server/power.go index ef30067..f927ceb 100644 --- a/server/power.go +++ b/server/power.go @@ -8,6 +8,7 @@ import ( "emperror.dev/errors" "github.com/google/uuid" + "github.com/pterodactyl/wings/config" "github.com/pterodactyl/wings/environment" ) diff --git a/server/power_test.go b/server/power_test.go index b7aa29a..3aa993b 100644 --- a/server/power_test.go +++ b/server/power_test.go @@ -4,6 +4,7 @@ import ( "testing" . "github.com/franela/goblin" + "github.com/pterodactyl/wings/system" ) diff --git a/sftp/event.go b/sftp/event.go index ff1c7c6..2c4d85f 100644 --- a/sftp/event.go +++ b/sftp/event.go @@ -3,6 +3,7 @@ package sftp import ( "emperror.dev/errors" "github.com/apex/log" + "github.com/pterodactyl/wings/internal/database" "github.com/pterodactyl/wings/internal/models" )