Retro68/gcc/libgo/go/cmd/gofmt/testdata/stdin6.golden
2017-10-07 02:16:47 +02:00

20 lines
199 B
Plaintext

//gofmt -stdin
if err != nil {
source := strings.NewReader(`line 1.
line 2.
`)
return source
}
f := func(hat, tail string) {
fmt.Println(hat+`
foo
`+tail,
"more",
"and more")
}