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