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