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:
parent
3031a59d6b
commit
5b2bf946f6
@ -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 \
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
module xcontrol/rag-server
|
||||
module account
|
||||
|
||||
go 1.25.1
|
||||
|
||||
|
||||
@ -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 \
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
module xcontrol/account
|
||||
module rag-server
|
||||
|
||||
go 1.25.1
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user