☰
Debian Codegraph
@
1.26.8-1
1.26.7-1
/
/
src
/
cmd
/
gofmt
/
testdata
/
stdin7.golden
☽
☼
src/cmd/gofmt/testdata/stdin7.golden
code
plain
raw
Go
© 2009, 2010, The Go Authors. All rights reserved.
debian/copyright
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
fmt.Println(hat+`
13
foo
14
15
16
`+tail,
17
"more",
18
"and more")
19
}