github.com/graybobo/golang.org-package-offline-cache@v0.0.0-20200626051047-6608995c132f/x/tools/cmd/bundle/testdata/out.golden (about) 1 // Code generated by golang.org/x/tools/cmd/bundle command: 2 // $ bundle initial dest prefix 3 4 // The package doc comment 5 // 6 7 package dest 8 9 import ( 10 "fmt" 11 ) 12 13 // init functions are not renamed 14 func init() { prefixfoo() } 15 16 // Type S. 17 type prefixS struct { 18 prefixt 19 u int 20 } 21 22 // Function bar. 23 func prefixbar(s *prefixS) { fmt.Println(s.prefixt, s.u) } 24 25 type prefixt int 26 27 const prefixc = 1 28 29 func prefixfoo() { 30 fmt.Println() 31 }