static - ActiveState ActiveGo 1.8
...

Package static

import "golang.org/x/tools/go/callgraph/static"
Overview
Index

Overview ▾

Package static computes the call graph of a Go program containing only static call edges.

func CallGraph

func CallGraph(prog *ssa.Program) *callgraph.Graph

CallGraph computes the call graph of the specified program considering only static calls.