mirror of
https://github.com/proffesor-for-testing/agentic-qe.git
synced 2026-09-19 08:45:47 +08:00
ae528aea7e
## Wave 1: Database Foundation - Add SQL schema for code_chunks, code_entities, entity_relationships - Use RuVector 768-dim embeddings (not pgvector) - Implement hybrid_code_search function (BM25 + vector) - Add pg_trgm extension for full-text search - Create setup scripts for Ollama/nomic-embed-text ## Wave 2: Multi-Language Parser - Implement TreeSitterParser with 5 language support - Add language-specific extractors (TS, Python, Go, Rust, JS) - Implement incremental parsing with tree caching - Create comprehensive test suite with fixtures ## Architecture Decision - Defer Apache AGE to v2 (see ADR-002) - Use SQL tables for graph relationships - Rationale: Lower complexity, team familiarity, sufficient for v1 Closes #159, Closes #160 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
18 lines
292 B
Go
18 lines
292 B
Go
package main
|
|
|
|
func Greet(name string) string {
|
|
return "Hello, " + name + "!"
|
|
}
|
|
|
|
type UserService struct {
|
|
users map[string]User
|
|
}
|
|
|
|
func (s *UserService) GetUser(id string) (*User, error) {
|
|
user, ok := s.users[id]
|
|
if !ok {
|
|
return nil, nil
|
|
}
|
|
return &user, nil
|
|
}
|