Documentation ¶
Overview ¶
Package static computes the call graph of a Go program containing only static call edges.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CallGraph ¶
CallGraph computes the static call graph of the specified program.
The resulting graph includes: - all package-level functions; - all methods of package-level non-parameterized non-interface types; - pointer wrappers (*C).F for source-level methods C.F; - and all functions reachable from them following only static calls.
It does not consider exportedness, nor treat main packages specially.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.