Skip to content

feat: Go Tier 1 + gopls Tier 2 backend#2

Merged
SimplyLiz merged 1 commit intomainfrom
develop
Apr 13, 2026
Merged

feat: Go Tier 1 + gopls Tier 2 backend#2
SimplyLiz merged 1 commit intomainfrom
develop

Conversation

@SimplyLiz
Copy link
Copy Markdown
Contributor

Summary

  • Add Go variant to Language enum with .go extension detection and tree-sitter-go = "0.21" grammar
  • Implement go_symbols (functions, methods, struct/interface/alias types, consts), go_occurrences, and go_calls (including selector expressions) in SymbolExtractor
  • Add gopls.rs Tier 2 backend (spawns gopls, standard LSP documentSymbol + hover flow, confidence 90)
  • Wire gopls into Tier2Manager with .go dispatch, lazy init, and graceful degradation
  • 9 new unit tests covering extraction, export rules, and CPG call edges

Test plan

  • cargo test -p lip --lib — 179 passed, 0 failed

@SimplyLiz SimplyLiz merged commit 5f0b103 into main Apr 13, 2026
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant