Sign in
go
/
website
/
995577f14f28bed40e5f61132f1b78adbdbbb3d9
/
.
/
_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)
}