Sign in
go
/
talks
/
cd23726c7ff9cf5cf0f53a64f0e0c6ebdd89fd42
/
.
/
2013
/
distsys
/
writebuffer2.go
blob: 3dba109f063e28008fc942f6c94c943715df3fd8 [
file
]
// +build OMIT
package main
import (
"bytes"
"fmt"
"io"
"os"
)
func main() {
b := new(bytes.Buffer)
fmt.Fprintf(b, "hello, %s\n", "world")
io.Copy(os.Stdout, b)
}