Sign in
go
/
talks
/
456b5fca3a73edb41339aa18660233f6ded56b9a
/
.
/
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)
}