golang

package
v0.1.155 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 24, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package golang registers the Go tree-sitter grammar with the treesitter registry. Import for side effect:

_ "github.com/codefly-dev/core/companions/treesitter/golang"

ARCHITECTURE: This package is intentionally thin. It provides:

  • The Go grammar via github.com/smacker/go-tree-sitter/golang
  • A SymbolExtractor that walks the Go syntax tree and produces codev0.Symbol

Everything else (parsing, caching, workspace walking, diagnostics, resolve) lives in the parent package and is language-agnostic.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL