1
0
mirror of https://github.com/golang/go synced 2024-11-06 01:46:12 -07:00
go/cmd/bundle/testdata/out.golden

34 lines
437 B
Plaintext
Raw Normal View History

// Code generated by golang.org/x/tools/cmd/bundle.
// $ bundle
// The package doc comment
//
package dest
import (
"fmt"
"domain.name/importdecl"
)
// init functions are not renamed
func init() { prefixfoo() }
// Type S.
type prefixS struct {
prefixt
u int
}
// Function bar.
func prefixbar(s *prefixS) { fmt.Println(s.prefixt, s.u) }
type prefixt int
const prefixc = 1
func prefixfoo() {
fmt.Println(importdecl.F())
}