Versions in this module Expand all Collapse all v0 v0.3.0 Jun 27, 2026 Changes in this version + type ReferenceSite struct + Kind string + Line int + func ReferenceSites(language string, src []byte, symbol string) []ReferenceSite v0.2.0 Jun 27, 2026 Changes in this version type FunctionSpan + Cognitive *int + Cyclomatic int v0.1.0 Jun 27, 2026 Changes in this version + var ErrUnsupportedLanguage = errors.New("symbols: unsupported language") + func SupportedLanguages() []string + type CallEdge struct + Callee string + Caller string + type FunctionSpan struct + EndLine int + Name string + StartLine int + type MethodOwner struct + Method string + Owner string + type Symbols struct + CallEdges []CallEdge + Exported []string + FunctionSpans []FunctionSpan + Functions []string + Imports []string + MethodOwners []MethodOwner + Package string + References []string + RelativeImports []string + Types []string + func Extract(language string, src []byte) (Symbols, error) + func ExtractGo(src []byte) (Symbols, error)