mirror of
https://github.com/acepanel/panel.git
synced 2026-02-04 10:17:17 +08:00
refactor: 重命名软件包名
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
package internal
|
||||
|
||||
import "panel/app/models"
|
||||
import "github.com/TheTNB/panel/app/models"
|
||||
|
||||
type Backup interface {
|
||||
WebsiteList() ([]BackupFile, error)
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
package internal
|
||||
|
||||
import (
|
||||
requests "panel/app/http/requests/cert"
|
||||
"panel/app/models"
|
||||
"panel/pkg/acme"
|
||||
requests "github.com/TheTNB/panel/app/http/requests/cert"
|
||||
"github.com/TheTNB/panel/app/models"
|
||||
"github.com/TheTNB/panel/pkg/acme"
|
||||
)
|
||||
|
||||
type Cert interface {
|
||||
|
||||
@@ -7,8 +7,8 @@ import (
|
||||
"github.com/docker/docker/api/types/network"
|
||||
"github.com/docker/docker/api/types/volume"
|
||||
|
||||
requests "panel/app/http/requests/container"
|
||||
paneltypes "panel/types"
|
||||
requests "github.com/TheTNB/panel/app/http/requests/container"
|
||||
paneltypes "github.com/TheTNB/panel/types"
|
||||
)
|
||||
|
||||
type Container interface {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package internal
|
||||
|
||||
import "panel/app/models"
|
||||
import "github.com/TheTNB/panel/app/models"
|
||||
|
||||
type Cron interface {
|
||||
AddToSystem(cron models.Cron) error
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package internal
|
||||
|
||||
import "panel/types"
|
||||
import "github.com/TheTNB/panel/types"
|
||||
|
||||
type PHPExtension struct {
|
||||
Name string `json:"name"`
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package internal
|
||||
|
||||
import "panel/app/models"
|
||||
import "github.com/TheTNB/panel/app/models"
|
||||
|
||||
// PanelPlugin 插件元数据结构
|
||||
type PanelPlugin struct {
|
||||
|
||||
@@ -9,9 +9,9 @@ import (
|
||||
|
||||
"github.com/goravel/framework/support/carbon"
|
||||
|
||||
"panel/app/models"
|
||||
"panel/internal"
|
||||
"panel/pkg/tools"
|
||||
"github.com/TheTNB/panel/app/models"
|
||||
"github.com/TheTNB/panel/internal"
|
||||
"github.com/TheTNB/panel/pkg/tools"
|
||||
)
|
||||
|
||||
type BackupImpl struct {
|
||||
|
||||
@@ -9,10 +9,10 @@ import (
|
||||
|
||||
"github.com/goravel/framework/facades"
|
||||
|
||||
requests "panel/app/http/requests/cert"
|
||||
"panel/app/models"
|
||||
"panel/pkg/acme"
|
||||
"panel/pkg/tools"
|
||||
requests "github.com/TheTNB/panel/app/http/requests/cert"
|
||||
"github.com/TheTNB/panel/app/models"
|
||||
"github.com/TheTNB/panel/pkg/acme"
|
||||
"github.com/TheTNB/panel/pkg/tools"
|
||||
)
|
||||
|
||||
type CertImpl struct {
|
||||
|
||||
@@ -15,8 +15,8 @@ import (
|
||||
"github.com/docker/docker/client"
|
||||
"github.com/goravel/framework/support/json"
|
||||
|
||||
requests "panel/app/http/requests/container"
|
||||
paneltypes "panel/types"
|
||||
requests "github.com/TheTNB/panel/app/http/requests/container"
|
||||
paneltypes "github.com/TheTNB/panel/types"
|
||||
)
|
||||
|
||||
type Container struct {
|
||||
|
||||
@@ -3,8 +3,8 @@ package services
|
||||
import (
|
||||
"strings"
|
||||
|
||||
"panel/app/models"
|
||||
"panel/pkg/tools"
|
||||
"github.com/TheTNB/panel/app/models"
|
||||
"github.com/TheTNB/panel/pkg/tools"
|
||||
)
|
||||
|
||||
type CronImpl struct {
|
||||
|
||||
@@ -12,10 +12,10 @@ import (
|
||||
"github.com/goravel/framework/facades"
|
||||
"github.com/spf13/cast"
|
||||
|
||||
"panel/app/models"
|
||||
"panel/internal"
|
||||
"panel/pkg/tools"
|
||||
"panel/types"
|
||||
"github.com/TheTNB/panel/app/models"
|
||||
"github.com/TheTNB/panel/internal"
|
||||
"github.com/TheTNB/panel/pkg/tools"
|
||||
"github.com/TheTNB/panel/types"
|
||||
)
|
||||
|
||||
type PHPImpl struct {
|
||||
|
||||
@@ -6,8 +6,8 @@ import (
|
||||
|
||||
"github.com/goravel/framework/facades"
|
||||
|
||||
"panel/app/models"
|
||||
"panel/internal"
|
||||
"github.com/TheTNB/panel/app/models"
|
||||
"github.com/TheTNB/panel/internal"
|
||||
)
|
||||
|
||||
type PluginImpl struct {
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
package services
|
||||
|
||||
import (
|
||||
"github.com/TheTNB/panel/app/models"
|
||||
"github.com/goravel/framework/facades"
|
||||
"panel/app/models"
|
||||
)
|
||||
|
||||
type SettingImpl struct {
|
||||
|
||||
@@ -3,8 +3,8 @@ package services
|
||||
import (
|
||||
"github.com/goravel/framework/facades"
|
||||
|
||||
"panel/app/jobs"
|
||||
"panel/app/models"
|
||||
"github.com/TheTNB/panel/app/jobs"
|
||||
"github.com/TheTNB/panel/app/models"
|
||||
)
|
||||
|
||||
type TaskImpl struct {
|
||||
|
||||
@@ -4,7 +4,7 @@ package services
|
||||
import (
|
||||
"github.com/goravel/framework/facades"
|
||||
|
||||
"panel/app/models"
|
||||
"github.com/TheTNB/panel/app/models"
|
||||
)
|
||||
|
||||
type UserImpl struct {
|
||||
|
||||
@@ -10,13 +10,13 @@ import (
|
||||
"strconv"
|
||||
"strings"
|
||||
|
||||
requests "github.com/TheTNB/panel/app/http/requests/website"
|
||||
"github.com/goravel/framework/facades"
|
||||
"github.com/spf13/cast"
|
||||
requests "panel/app/http/requests/website"
|
||||
|
||||
"panel/app/models"
|
||||
"panel/internal"
|
||||
"panel/pkg/tools"
|
||||
"github.com/TheTNB/panel/app/models"
|
||||
"github.com/TheTNB/panel/internal"
|
||||
"github.com/TheTNB/panel/pkg/tools"
|
||||
)
|
||||
|
||||
type WebsiteImpl struct {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package internal
|
||||
|
||||
import "panel/app/models"
|
||||
import "github.com/TheTNB/panel/app/models"
|
||||
|
||||
type User interface {
|
||||
Create(name, password string) (models.User, error)
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
package internal
|
||||
|
||||
import (
|
||||
requests "panel/app/http/requests/website"
|
||||
"panel/app/models"
|
||||
requests "github.com/TheTNB/panel/app/http/requests/website"
|
||||
"github.com/TheTNB/panel/app/models"
|
||||
)
|
||||
|
||||
type Website interface {
|
||||
|
||||
Reference in New Issue
Block a user