github.com/graybobo/golang.org-package-offline-cache@v0.0.0-20200626051047-6608995c132f/x/tools/oracle/testdata/src/main/callgraph.golden (about) 1 -------- @callgraph callgraph-main -------- 2 3 Below is a call graph of package main. 4 The numbered nodes form a spanning tree. 5 Non-numbered nodes indicate back- or cross-edges to the node whose 6 number follows in parentheses. 7 8 0 init 9 1 main 10 2 call 11 3 A 12 4 B 13 5 call2 14 6 main$1 15 main (1) 16 7 nop 17 18 -------- @callgraph callgraph-complete -------- 19 20 Below is a call graph of the entire program. 21 The numbered nodes form a spanning tree. 22 Non-numbered nodes indicate back- or cross-edges to the node whose 23 number follows in parentheses. 24 25 0 <root> 26 1 main.init 27 2 lib.init 28 3 main.main 29 4 lib.Func 30 5 main.call 31 6 main.A 32 7 main.B 33 8 main.call2 34 9 main.main$1 35 main.main (3) 36 10 main.nop 37