1
0
mirror of https://github.com/golang/go synced 2024-11-05 22:46:12 -07:00
go/cmd/bundle/testdata/out.golden
Yasuhiro Matsumoto ba484b064f cmd/bundle: move down imports of external package
imports should be ordered like

    import (
    	"fmt"

    	"golang.org/x/text"
    )

Change-Id: I000374833de370463d772c2596c7ac6ee5e9725c
Reviewed-on: https://go-review.googlesource.com/23026
Reviewed-by: Mikio Hara <mikioh.mikioh@gmail.com>
Reviewed-by: Nigel Tao <nigeltao@golang.org>
2016-05-26 02:53:53 +00:00

34 lines
437 B
Plaintext

// 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())
}