blob: 90d9d5aa6261f479b99b14e1ef10514c373b8a56 [file] [log] [blame]
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)
}