aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/gofmt/testdata/typealias.golden
blob: bbbbf321214bde1845a238bc0c54db6075ef01b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
package q

import "p"

type _ = int
type a = struct{ x int }
type b = p.B

type (
	_  = chan<- int
	aa = interface{}
	bb = p.BB
)

// TODO(gri) We may want to put the '=' into a separate column if
// we have mixed (regular and alias) type declarations in a group.
type (
	_   chan<- int
	_   = chan<- int
	aa0 interface{}
	aaa = interface{}
	bb0 p.BB
	bbb = p.BB
)