Documentation
¶
Overview ¶
Package parser extracts graph nodes from a single Go source file using the standard go/ast and go/parser packages. No code from the target repository is executed.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileResult ¶
type FileResult struct {
File graph.FileNode
Symbols []graph.SymbolNode
Imports []graph.ImportEdge
Calls []graph.CallEdge
Env []graph.EnvRead
Routes []graph.HTTPRoute
SQLs []graph.SQLEdge
Errors []graph.ErrorEdge
Concurrency []graph.ConcurrencyNode
TestEdges []graph.TestEdge
}
FileResult holds everything extracted from one source file.
Click to show internal directories.
Click to hide internal directories.