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