refactor: 按go modules规范重构

This commit is contained in:
2026-04-15 15:19:39 +08:00
parent 8c5cd3705a
commit 5d4bf761b8
21 changed files with 524 additions and 679 deletions
+11 -1
View File
@@ -5,7 +5,17 @@
"Bash(curl -X PUT \"http://localhost:3001/api/nodes/test_node_1\" -H \"Content-Type: application/json\" -d \"{\\\\\"label\\\\\":\\\\\"更新后的测试节点\\\\\",\\\\\"x\\\\\":150}\" -s)",
"Bash(curl:*)",
"Bash(~/go/bin/swag init:*)",
"Bash(go run:*)"
"Bash(go run:*)",
"Bash(go list:*)",
"Bash(cat \"D:\\\\code\\\\knowledge-graph-agent\\\\backend\\\\handlers\"/*.go)",
"Bash(cat \"D:\\\\code\\\\knowledge-graph-agent\\\\backend\\\\neo4j\"/*.go)",
"Bash(mkdir:*)",
"Bash(go build:*)",
"Bash(sed -i 's/models\\\\./model\\\\./g' internal/service/neo4j_service.go)",
"Bash(sed -i 's/models\\\\./model\\\\./g' internal/handler/*.go)",
"Bash(sed -i 's/models\\\\./model\\\\./g' cmd/server/main.go)",
"Bash(go test:*)",
"Bash(swag init:*)"
]
}
}