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

     1  															//gofmt -stdin
     2  
     3  															if err != nil {
     4  								source := strings.NewReader(`line 1.
     5  line 2.
     6  `)
     7  								return source
     8  							}
     9  
    10  							f:=func(  hat, tail string){
    11  
    12  
    13  
    14  								   fmt.  Println  (   hat+   `
    15  		foo
    16  
    17  
    18  	`+ tail  ,
    19  						 "more" ,
    20  								"and more"   )
    21  							}
    22  

View as plain text