fix(go-modules): correct module paths for account and rag-server

Split repositories into two standalone Go modules and fixed their
respective Makefile init targets. Updated:

- account: module → `account`
- rag-server: module → `rag-server`
This commit is contained in:
Haitao Pan 2025-12-06 10:00:34 +08:00
parent 3031a59d6b
commit 5b2bf946f6
4 changed files with 4 additions and 4 deletions

View File

@ -67,7 +67,7 @@ help:
init: init-go init-db
init-go:
go mod init xcontrol/rag-server
go mod init account
go mod tidy
@echo ">>> 检查 Go 环境"
@if ! command -v go >/dev/null; then \

View File

@ -1,4 +1,4 @@
module xcontrol/rag-server
module account
go 1.25.1

View File

@ -19,7 +19,7 @@ export PATH := /usr/local/go/bin:$(PATH)
all: build
init:
go mod init xcontrol/account
go mod init rag-server || true
go mod tidy
@echo ">>> 初始化 Go 依赖环境"
@if command -v go >/dev/null 2>&1; then \

View File

@ -1,4 +1,4 @@
module xcontrol/account
module rag-server
go 1.25.1