Versions in this module Expand all Collapse all v0 v0.0.3 Mar 19, 2026 v0.0.2 Mar 19, 2026 Changes in this version + type Chunk struct + Content string + Context []string + EndLine int + Kind Kind + StartLine int + Symbol string + type Chunker struct + func New(providers ...Provider) *Chunker + func (c *Chunker) Chunk(ctx context.Context, lang Language, filename string, content []byte) ([]Chunk, error) + func (c *Chunker) HasProvider(lang Language) bool + func (c *Chunker) Languages() []Language + func (c *Chunker) Register(p Provider) + type Kind string + const KindClass + const KindConstant + const KindEnum + const KindFunction + const KindInterface + const KindMethod + const KindModule + const KindSection + const KindType + const KindVariable + type Language string + const Go + const JavaScript + const Markdown + const Python + const Rust + const TypeScript + type Provider interface + Chunk func(ctx context.Context, filename string, content []byte) ([]Chunk, error) + Language func() Language