Documentation
¶
Index ¶
- func BuildSSA(ctx *Context, args []string) (*ssa.Program, []*packages.Package, error)
- func Run(conf Config) error
- func WriteMermaid(w io.StringWriter, nodes []*Node) error
- type Call
- type Config
- type Context
- type Edge
- type EdgeType
- type Function
- type InLoop
- type LoopRange
- type LoopRangeMap
- type LoopRanges
- type Node
- type NodeType
- type Query
- type QueryType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WriteMermaid ¶
func WriteMermaid(w io.StringWriter, nodes []*Node) error
Types ¶
type Function ¶
type Function struct { ID string Name string Pos token.Pos Queries []InLoop[Query] Calls []InLoop[Call] }
func BuildFuncs ¶
type LoopRangeMap ¶
type LoopRangeMap map[string]LoopRanges
func BuildLoopRangeMap ¶
func BuildLoopRangeMap(ctx *Context) (LoopRangeMap, error)
type LoopRanges ¶
type LoopRanges []LoopRange
type Query ¶
func AnalyzeSQL ¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.