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