import "golang.org/x/tools/go/callgraph/static"
Package static computes the call graph of a Go program containing only static call edges.
static.go
func CallGraph(prog *ssa.Program) *callgraph.Graph
CallGraph computes the call graph of the specified program considering only static calls.