22 lines
296 B
Text
22 lines
296 B
Text
|
//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" )
|
||
|
}
|