Sign in
go
/
website
/
07cbbd682a90a64da5697b2ae9af4fc6f06ea7e4
/
.
/
_content
/
talks
/
2013
/
distsys
/
writebuffer2.go
blob: 5977c7f842e4deffb772f0944e1a4a19c0a1a771 [
file
] [
log
] [
blame
]
// +build ignore,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)
}