Versions in this module Expand all Collapse all v0 v0.4.1 Jun 8, 2026 v0.4.0 Jun 6, 2026 Changes in this version + func ParseDir(dir, pkgPath string, store *Store) error + type Edge struct + From NodeID + Kind EdgeKind + To NodeID + type EdgeKind int + const EdgeCalls + const EdgeDefines + const EdgeImplements + const EdgeImports + func (k EdgeKind) String() string + type Index struct + func NewIndex(pkgPath string) *Index + func (idx *Index) Callees(symID NodeID) []*Node + func (idx *Index) Callers(symID NodeID) []*Node + func (idx *Index) Impact(symID NodeID) []*Node + func (idx *Index) Lookup(id NodeID) *Node + func (idx *Index) Rebuild(root string) error + func (idx *Index) Search(name string) []*Node + func (idx *Index) Store() *Store + type LatentInjector struct + func NewLatentInjector(idx *Index, topN int) *LatentInjector + func (li *LatentInjector) Render() string + type Node struct + File string + ID NodeID + Kind NodeKind + Line int + Name string + Snippet string + func RankByPageRank(s *Store, iterations int) []*Node + type NodeID string + type NodeKind int + const KindFunc + const KindInterface + const KindType + func (k NodeKind) String() string + type Store struct + func NewStore() *Store + func (s *Store) AddEdge(e Edge) + func (s *Store) AddNode(n *Node) + func (s *Store) AllNodes() []*Node + func (s *Store) InEdges(to NodeID) []Edge + func (s *Store) Node(id NodeID) *Node + func (s *Store) OutEdges(from NodeID) []Edge