Sign in
go
/
talks
/
42334b6f2551955b5e77dbcc47b0d511c24fa08e
/
.
/
2013
/
distsys
/
writebuffer.go
blob: 8ac1c7ae1fe854bc139a660de04032dc2323a787 [
file
] [
log
] [
blame
]
// +build 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())
}