fix: update core dependency path to git.zkcoi.com/zkcoi/meshray (drop /core)
- go.mod require/replace git.zkcoi.com/zkcoi/meshray/core -> git.zkcoi.com/zkcoi/meshray
- .go imports meshray/core/{engine,connect} -> meshray/{engine,connect} (5 files)
- sync CHANGELOG + adapter.go comments
This commit is contained in:
@@ -1,5 +1,23 @@
|
||||
# 变更日志 (CHANGELOG)
|
||||
|
||||
## 2026-07-15 修正依赖的 core 模块路径(去掉失效的 `/core` 后缀)
|
||||
|
||||
### 背景
|
||||
core 仓库 `zkcoi/Meshray` 的 `go.mod` 位于仓库根目录、内无 `core/` 子目录,故其模块路径
|
||||
`git.zkcoi.com/zkcoi/meshray/core` 无法被 `go get` 解析。上一版(manager 模块更名)日志称
|
||||
"core 模块保持不变、仍可由 go get 正确解析" 有误,特此更正:core 模块路径实际应为根模块
|
||||
`git.zkcoi.com/zkcoi/meshray`(仓库名大小写不敏感,`zkcoi/meshray` 即 `zkcoi/Meshray`,可正确解析)。
|
||||
|
||||
### 改动
|
||||
- `go.mod`:`require` / `replace` 中 `git.zkcoi.com/zkcoi/meshray/core` →
|
||||
`git.zkcoi.com/zkcoi/meshray`(replace 仍指向本地兄弟模块 `../Meshray`)。
|
||||
- 全仓 `.go`:core 导入 `git.zkcoi.com/zkcoi/meshray/core/{engine,connect}` →
|
||||
`git.zkcoi.com/zkcoi/meshray/{engine,connect}`(共 5 处:cmd/mr-wg/main.go、
|
||||
internal/ctr/corebind/{registry,bind,adapter}.go)。
|
||||
|
||||
### 验证
|
||||
- `go build ./...` → 0(manager 仓库编译通过,core 引用全部更新)。
|
||||
|
||||
## 2026-07-15 修正 manager 模块路径为 `git.zkcoi.com/zkcoi/Meshray-Manager`
|
||||
|
||||
### 背景
|
||||
|
||||
Reference in New Issue
Block a user