Help us shape the future of Go! Take the 2026 Go Developer Survey

golang

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 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