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

     1  package q
     2  
     3  import "p"
     4  
     5  type _ = int
     6  type a = struct{ x int }
     7  type b = p.B
     8  
     9  type (
    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.
    17  type (
    18  	_ chan<- int
    19  	_ = chan<- int
    20  	aa0 interface{}
    21  	aaa = interface{}
    22  	bb0 p.BB
    23  	bbb = p.BB
    24  )
    25  

View as plain text