Sign in
go
/
talks
/
6f47ff2d07e93290cbb8f54b75c20649fbf26754
/
.
/
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())
}