mirror of
https://github.com/acepanel/panel.git
synced 2026-02-07 13:13:06 +08:00
refactor: 重构types包
This commit is contained in:
@@ -14,7 +14,7 @@ import (
|
||||
"github.com/TheTNB/panel/pkg/io"
|
||||
"github.com/TheTNB/panel/pkg/shell"
|
||||
"github.com/TheTNB/panel/pkg/str"
|
||||
"github.com/TheTNB/panel/types"
|
||||
"github.com/TheTNB/panel/pkg/types"
|
||||
)
|
||||
|
||||
type BackupImpl struct {
|
||||
|
||||
@@ -16,7 +16,7 @@ import (
|
||||
"github.com/goravel/framework/support/json"
|
||||
|
||||
requests "github.com/TheTNB/panel/app/http/requests/container"
|
||||
paneltypes "github.com/TheTNB/panel/types"
|
||||
paneltypes "github.com/TheTNB/panel/pkg/types"
|
||||
)
|
||||
|
||||
type Container struct {
|
||||
|
||||
@@ -16,7 +16,7 @@ import (
|
||||
"github.com/TheTNB/panel/pkg/io"
|
||||
"github.com/TheTNB/panel/pkg/shell"
|
||||
"github.com/TheTNB/panel/pkg/systemctl"
|
||||
"github.com/TheTNB/panel/types"
|
||||
"github.com/TheTNB/panel/pkg/types"
|
||||
)
|
||||
|
||||
type PHPImpl struct {
|
||||
|
||||
@@ -9,7 +9,7 @@ import (
|
||||
"github.com/TheTNB/panel/app/models"
|
||||
"github.com/TheTNB/panel/internal"
|
||||
"github.com/TheTNB/panel/pkg/io"
|
||||
"github.com/TheTNB/panel/types"
|
||||
"github.com/TheTNB/panel/pkg/types"
|
||||
)
|
||||
|
||||
type PluginImpl struct {
|
||||
|
||||
@@ -20,7 +20,7 @@ import (
|
||||
"github.com/TheTNB/panel/pkg/shell"
|
||||
"github.com/TheTNB/panel/pkg/str"
|
||||
"github.com/TheTNB/panel/pkg/systemctl"
|
||||
"github.com/TheTNB/panel/types"
|
||||
"github.com/TheTNB/panel/pkg/types"
|
||||
)
|
||||
|
||||
type WebsiteImpl struct {
|
||||
|
||||
Reference in New Issue
Block a user