package
0.0.0-20180911130330-d3ccc4fb1d66
Repository: https://github.com/rglyons/kube-arangodb.git
Documentation: pkg.go.dev
# Functions
AllFunctions finds and returns the set of functions potentially needed by program prog, as determined by a simple linker-style reachability algorithm starting from the members and method-sets of each package.
BuildPackage builds an SSA program with IR for a single package.
CreateProgram returns a new program in SSA form, given a program loaded from source.
MainPackages returns the subset of the specified packages named "main" that define a main function.
Packages creates an SSA program for a set of packages loaded from source syntax using the golang.org/x/tools/go/packages.Load function.
Switches examines the control-flow graph of fn and returns the set of inferred value and type switches.