diff --git a/app/app.go b/app/app.go index d771659..7ce9604 100644 --- a/app/app.go +++ b/app/app.go @@ -2,9 +2,9 @@ package app import ( "fmt" - "git.hlsq.asia/mmorpg/service-common/log" - "git.hlsq.asia/mmorpg/service-common/module" - "git.hlsq.asia/mmorpg/service-robot/config" + "git.hlsq.asia/alex/service-common/log" + "git.hlsq.asia/alex/service-common/module" + "git.hlsq.asia/alex/service-robot/config" "github.com/judwhite/go-svc" "sync" ) diff --git a/app/pprof.go b/app/pprof.go index 810962d..63421ca 100644 --- a/app/pprof.go +++ b/app/pprof.go @@ -3,8 +3,8 @@ package app import ( "context" "errors" - "git.hlsq.asia/mmorpg/service-common/log" - "git.hlsq.asia/mmorpg/service-common/module" + "git.hlsq.asia/alex/service-common/log" + "git.hlsq.asia/alex/service-common/module" "net/http" _ "net/http/pprof" "sync" diff --git a/app/websocket.go b/app/websocket.go index 0035dc0..005456f 100644 --- a/app/websocket.go +++ b/app/websocket.go @@ -2,9 +2,9 @@ package app import ( "fmt" - "git.hlsq.asia/mmorpg/service-common/module" - "git.hlsq.asia/mmorpg/service-robot/config" - "git.hlsq.asia/mmorpg/service-robot/internal/ws" + "git.hlsq.asia/alex/service-common/module" + "git.hlsq.asia/alex/service-robot/config" + "git.hlsq.asia/alex/service-robot/internal/ws" "sync" ) diff --git a/config/config.go b/config/config.go index d014b7b..37ac345 100644 --- a/config/config.go +++ b/config/config.go @@ -1,6 +1,6 @@ package config -import "git.hlsq.asia/mmorpg/service-common/config" +import "git.hlsq.asia/alex/service-common/config" const path = "./config" diff --git a/go.mod b/go.mod index 54de4e6..c4872be 100644 --- a/go.mod +++ b/go.mod @@ -1,9 +1,9 @@ -module git.hlsq.asia/mmorpg/service-robot +module git.hlsq.asia/alex/service-robot go 1.24.0 require ( - git.hlsq.asia/mmorpg/service-common v0.0.0-20260211064821-558677bc3a2e + git.hlsq.asia/alex/service-common v0.0.0-20260211064821-558677bc3a2e github.com/gorilla/websocket v1.5.3 github.com/judwhite/go-svc v1.2.1 google.golang.org/protobuf v1.36.10 diff --git a/internal/ws/client.go b/internal/ws/client.go index ea88b43..af5d741 100644 --- a/internal/ws/client.go +++ b/internal/ws/client.go @@ -7,9 +7,9 @@ import ( "encoding/json" "errors" "fmt" - "git.hlsq.asia/mmorpg/service-common/log" - "git.hlsq.asia/mmorpg/service-common/proto/ss/sspb" - "git.hlsq.asia/mmorpg/service-common/utils" + "git.hlsq.asia/alex/service-common/log" + "git.hlsq.asia/alex/service-common/proto/ss/sspb" + "git.hlsq.asia/alex/service-common/utils" "github.com/gorilla/websocket" "google.golang.org/protobuf/proto" "io" diff --git a/internal/ws/handler.go b/internal/ws/handler.go index 9ea1626..946a1ed 100644 --- a/internal/ws/handler.go +++ b/internal/ws/handler.go @@ -1,8 +1,8 @@ package ws import ( - "git.hlsq.asia/mmorpg/service-common/log" - "git.hlsq.asia/mmorpg/service-common/proto/ss/sspb" + "git.hlsq.asia/alex/service-common/log" + "git.hlsq.asia/alex/service-common/proto/ss/sspb" "google.golang.org/protobuf/proto" "math" "math/rand" diff --git a/internal/ws/manager.go b/internal/ws/manager.go index 164a30d..8c0e350 100644 --- a/internal/ws/manager.go +++ b/internal/ws/manager.go @@ -1,7 +1,7 @@ package ws import ( - "git.hlsq.asia/mmorpg/service-robot/config" + "git.hlsq.asia/alex/service-robot/config" "time" ) diff --git a/internal/ws/router.go b/internal/ws/router.go index 4e017b7..c434e30 100644 --- a/internal/ws/router.go +++ b/internal/ws/router.go @@ -1,6 +1,6 @@ package ws -import "git.hlsq.asia/mmorpg/service-common/proto/ss/sspb" +import "git.hlsq.asia/alex/service-common/proto/ss/sspb" var router map[sspb.MessageID]BaseRouter diff --git a/main.go b/main.go index e9f79d1..ebade91 100644 --- a/main.go +++ b/main.go @@ -2,8 +2,8 @@ package main import ( "fmt" - "git.hlsq.asia/mmorpg/service-robot/app" - "git.hlsq.asia/mmorpg/service-robot/config" + "git.hlsq.asia/alex/service-robot/app" + "git.hlsq.asia/alex/service-robot/config" "github.com/judwhite/go-svc" "syscall" )