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