1 | //go:build tag |
---|---|
2 | // +build tag |
3 | |
4 | // Code generated by golang.org/x/tools/cmd/bundle. DO NOT EDIT. |
5 | // $ bundle |
6 | |
7 | // The package doc comment |
8 | // |
9 | |
10 | package dest |
11 | |
12 | import ( |
13 | "fmt" |
14 | . "fmt" |
15 | _ "fmt" |
16 | renamedfmt "fmt" |
17 | renamedfmt2 "fmt" |
18 | |
19 | "domain.name/importdecl" |
20 | ) |
21 | |
22 | // init functions are not renamed |
23 | func init() { prefixfoo() } |
24 | |
25 | // Type S. |
26 | type prefixS struct { |
27 | prefixt |
28 | u int |
29 | } /* multi-line |
30 | comment |
31 | */ |
32 | |
33 | // non-associated comment |
34 | |
35 | /* |
36 | non-associated comment2 |
37 | */ |
38 | |
39 | // Function bar. |
40 | func prefixbar(s *prefixS) { |
41 | fmt.Println(s.prefixt, s.u) // comment inside function |
42 | } |
43 | |
44 | // file-end comment |
45 | |
46 | type prefixt int // type1 |
47 | |
48 | // const1 |
49 | const prefixc = 1 // const2 |
50 | |
51 | func prefixfoo() { |
52 | fmt.Println(importdecl.F()) |
53 | } |
54 | |
55 | // zinit |
56 | const ( |
57 | prefixz1 = iota // z1 |
58 | prefixz2 // z2 |
59 | ) // zend |
60 | |
61 | func prefixbaz() { |
62 | renamedfmt.Println() |
63 | renamedfmt2.Println() |
64 | Println() |
65 | } |
66 |
Members