diff --git a/internal/bootstrap/conf.go b/internal/bootstrap/conf.go index 24fa0adcd7..5516283e7b 100644 --- a/internal/bootstrap/conf.go +++ b/internal/bootstrap/conf.go @@ -31,7 +31,7 @@ func initGlobal() { } app.Root = app.Conf.MustString("app.root") - app.Version = "2.3.20" + app.Version = "2.3.21" app.Locale = app.Conf.MustString("app.locale") // 初始化时区 diff --git a/pkg/db/mysql.go b/pkg/db/mysql.go index 3f07f33481..b1ab10e894 100644 --- a/pkg/db/mysql.go +++ b/pkg/db/mysql.go @@ -3,10 +3,11 @@ package db import ( "database/sql" "fmt" - _ "github.com/go-sql-driver/mysql" "regexp" "slices" + _ "github.com/go-sql-driver/mysql" + "github.com/TheTNB/panel/pkg/types" ) diff --git a/pkg/db/postgres.go b/pkg/db/postgres.go index 7af3e7d183..426b48a022 100644 --- a/pkg/db/postgres.go +++ b/pkg/db/postgres.go @@ -3,9 +3,10 @@ package db import ( "database/sql" "fmt" - _ "github.com/lib/pq" "slices" + _ "github.com/lib/pq" + "github.com/TheTNB/panel/pkg/systemctl" "github.com/TheTNB/panel/pkg/types" )