uniugm/admin/lib/gofmt/testdata/stdin6.golden

20 lines
199 B
Plaintext
Raw Normal View History

2025-05-08 17:33:46 +08:00
//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")
}