Sign in
go
/
talks
/
6464dc7d0511e0aae617cf1f350d9eb7fd396481
/
.
/
2013
/
distsys
/
writebuffer2.go
blob: 3dba109f063e28008fc942f6c94c943715df3fd8 [
file
] [
log
] [
blame
]
// +build OMIT
package main
import (
"bytes"
"fmt"
"io"
"os"
)
func main() {
b := new(bytes.Buffer)
fmt.Fprintf(b, "hello, %s\n", "world")
io.Copy(os.Stdout, b)
}