2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-04 07:57:21 +08:00

refactor: rename module

This commit is contained in:
2025-09-18 23:24:03 +08:00
parent 6dd40e6bdb
commit 5ee35cbd30
184 changed files with 623 additions and 623 deletions

View File

@@ -6,12 +6,12 @@ import (
"slices"
"strings"
"github.com/acepanel/panel/pkg/punycode"
"github.com/go-chi/chi/v5"
"github.com/knadh/koanf/v2"
"github.com/leonelquinteros/gotext"
"github.com/libtnb/chix"
"github.com/libtnb/sessions"
"github.com/tnborg/panel/pkg/punycode"
)
// Entrance 确保通过正确的入口访问

View File

@@ -5,6 +5,7 @@ import (
"net/http"
"path/filepath"
"github.com/acepanel/panel/internal/app"
"github.com/go-chi/chi/v5"
"github.com/go-chi/chi/v5/middleware"
"github.com/golang-cz/httplog"
@@ -13,10 +14,9 @@ import (
"github.com/leonelquinteros/gotext"
"github.com/libtnb/sessions"
sessionmiddleware "github.com/libtnb/sessions/middleware"
"github.com/tnborg/panel/internal/app"
"gopkg.in/natefinch/lumberjack.v2"
"github.com/tnborg/panel/internal/biz"
"github.com/acepanel/panel/internal/biz"
)
var ProviderSet = wire.NewSet(NewMiddlewares)

View File

@@ -6,7 +6,7 @@ import (
"github.com/leonelquinteros/gotext"
"github.com/tnborg/panel/internal/biz"
"github.com/acepanel/panel/internal/biz"
)
// MustInstall 确保已安装应用

View File

@@ -14,7 +14,7 @@ import (
"github.com/libtnb/sessions"
"github.com/spf13/cast"
"github.com/tnborg/panel/internal/biz"
"github.com/acepanel/panel/internal/biz"
)
// MustLogin 确保已登录

View File

@@ -5,7 +5,7 @@ import (
"github.com/leonelquinteros/gotext"
"github.com/tnborg/panel/internal/app"
"github.com/acepanel/panel/internal/app"
)
// Status 检查程序状态