Sign in
go
/
website
/
0b9a73dea9fd2b0ac1f81a64c7ab586e35cc3cc7
/
.
/
_content
/
talks
/
2013
/
distsys
/
writebuffer.go
blob: 94d75c450bf063535182a0b3033e8f9350007901 [
file
] [
log
] [
blame
]
// +build ignore,OMIT
package main
import (
"bytes"
"fmt"
"io"
"os"
)
var _ = io.Copy
func main() {
b := new(bytes.Buffer)
var w io.Writer
w = b
fmt.Fprintf(w, "hello, %s\n", "world")
os.Stdout.Write(b.Bytes())
}