mirror of
https://github.com/yusing/godoxy.git
synced 2026-04-23 08:48:32 +02:00
chore: cont fa16f415
This commit is contained in:
@@ -20,6 +20,7 @@ import (
|
||||
"github.com/yusing/go-proxy/internal/net/gphttp/middleware"
|
||||
"github.com/yusing/go-proxy/internal/route/routes/routequery"
|
||||
"github.com/yusing/go-proxy/internal/task"
|
||||
"github.com/yusing/go-proxy/migrations"
|
||||
"github.com/yusing/go-proxy/pkg"
|
||||
)
|
||||
|
||||
@@ -39,6 +40,9 @@ func parallel(fns ...func()) {
|
||||
|
||||
func main() {
|
||||
initProfiling()
|
||||
if err := migrations.RunMigrations(); err != nil {
|
||||
gperr.LogFatal("migration error", err)
|
||||
}
|
||||
args := pkg.GetArgs(common.MainServerCommandValidator{})
|
||||
|
||||
switch args.Command {
|
||||
|
||||
Reference in New Issue
Block a user