mirror of
https://github.com/golang/go
synced 2024-11-14 14:50:23 -07:00
add4e167e3
Fixes #1444. R=rsc, r CC=golang-dev https://golang.org/cl/3979045
13 lines
149 B
Go
13 lines
149 B
Go
package main
|
|
|
|
import (
|
|
"os"
|
|
"template"
|
|
"io/ioutil"
|
|
)
|
|
|
|
func main() {
|
|
b, _ := ioutil.ReadAll(os.Stdin)
|
|
template.HTMLFormatter(os.Stdout, "", b)
|
|
}
|