diff --git a/backend/app/service/dashboard.go b/backend/app/service/dashboard.go index 37d39cc01..419d9753b 100644 --- a/backend/app/service/dashboard.go +++ b/backend/app/service/dashboard.go @@ -9,6 +9,7 @@ import ( "time" "github.com/1Panel-dev/1Panel/backend/app/dto" + "github.com/1Panel-dev/1Panel/backend/constant" "github.com/1Panel-dev/1Panel/backend/global" "github.com/1Panel-dev/1Panel/backend/utils/cmd" "github.com/1Panel-dev/1Panel/backend/utils/copier" diff --git a/backend/app/service/device_clean.go b/backend/app/service/device_clean.go index 7e14d0a2f..f6dfd53a4 100644 --- a/backend/app/service/device_clean.go +++ b/backend/app/service/device_clean.go @@ -9,6 +9,7 @@ import ( "strings" "time" + "github.com/1Panel-dev/1Panel/backend/constant" "github.com/1Panel-dev/1Panel/backend/utils/docker" "github.com/docker/docker/api/types" "github.com/docker/docker/api/types/filters" diff --git a/backend/utils/files/zip.go b/backend/utils/files/zip.go index e4a89daa4..0d2896811 100644 --- a/backend/utils/files/zip.go +++ b/backend/utils/files/zip.go @@ -2,12 +2,14 @@ package files import ( "fmt" - "github.com/1Panel-dev/1Panel/backend/global" - "github.com/1Panel-dev/1Panel/backend/utils/cmd" - "github.com/1Panel-dev/1Panel/backend/utils/common" "path" "strings" "time" + + "github.com/1Panel-dev/1Panel/backend/constant" + "github.com/1Panel-dev/1Panel/backend/global" + "github.com/1Panel-dev/1Panel/backend/utils/cmd" + "github.com/1Panel-dev/1Panel/backend/utils/common" ) type ZipArchiver struct { diff --git a/backend/utils/mysql/helper/dump.go b/backend/utils/mysql/helper/dump.go index 862786832..df0144592 100644 --- a/backend/utils/mysql/helper/dump.go +++ b/backend/utils/mysql/helper/dump.go @@ -9,6 +9,7 @@ import ( "strings" "time" + "github.com/1Panel-dev/1Panel/backend/constant" "github.com/1Panel-dev/1Panel/backend/global" _ "github.com/go-sql-driver/mysql" ) diff --git a/backend/utils/mysql/helper/source.go b/backend/utils/mysql/helper/source.go index 9265d7032..b15a5cd97 100644 --- a/backend/utils/mysql/helper/source.go +++ b/backend/utils/mysql/helper/source.go @@ -9,6 +9,7 @@ import ( "strings" "time" + "github.com/1Panel-dev/1Panel/backend/constant" "github.com/1Panel-dev/1Panel/backend/global" )