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:
@@ -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 确保通过正确的入口访问
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -6,7 +6,7 @@ import (
|
||||
|
||||
"github.com/leonelquinteros/gotext"
|
||||
|
||||
"github.com/tnborg/panel/internal/biz"
|
||||
"github.com/acepanel/panel/internal/biz"
|
||||
)
|
||||
|
||||
// MustInstall 确保已安装应用
|
||||
|
||||
@@ -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 确保已登录
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
|
||||
"github.com/leonelquinteros/gotext"
|
||||
|
||||
"github.com/tnborg/panel/internal/app"
|
||||
"github.com/acepanel/panel/internal/app"
|
||||
)
|
||||
|
||||
// Status 检查程序状态
|
||||
|
||||
Reference in New Issue
Block a user