...

Text file src/cmd/gofmt/testdata/typealias.input

Documentation: cmd/gofmt/testdata

     1package q
     2
     3import "p"
     4
     5type _ = int
     6type a = struct{ x int }
     7type b = p.B
     8
     9type (
    10	_ = chan<- int
    11	aa = interface{}
    12	bb = p.BB
    13)
    14
    15// TODO(gri) We may want to put the '=' into a separate column if
    16// we have mixed (regular and alias) type declarations in a group.
    17type (
    18	_ chan<- int
    19	_ = chan<- int
    20	aa0 interface{}
    21	aaa = interface{}
    22	bb0 p.BB
    23	bbb = p.BB
    24)

View as plain text