Go: fix register user (#16058)

### What problem does this PR solve?

Fix register user

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)

---------

Signed-off-by: Jin Hai <haijin.chn@gmail.com>
This commit is contained in:
Jin Hai
2026-06-16 14:03:53 +08:00
committed by GitHub
parent 5751a22444
commit fad82fd1c0
10 changed files with 75 additions and 35 deletions

View File

@@ -10,7 +10,7 @@ void test_single_thread() {
std::cout << "Test 1: Single thread, 1000 iterations..." << std::endl;
// Create analyzer instance
RAGAnalyzerHandle handle = RAGAnalyzer_Create(".");
RAGAnalyzerHandle handle = RAGAnalyzer_Create("./resource");
assert(handle != nullptr && "Failed to create RAGAnalyzer");
// Load the analyzer
@@ -110,8 +110,9 @@ void test_multi_thread() {
}
int main() {
std::cout << "Please make sure the './resource' directory exists and is accessible." << std::endl;
std::cout << "=== RAGAnalyzer C API Test ===" << std::endl;
test_single_thread();
// test_multi_thread();