mirror of
https://github.com/golang/go
synced 2024-11-19 08:14:40 -07:00
78d9a6074d
R=r, rsc, gri CC=golang-dev https://golang.org/cl/887045
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, "")
|
|
}
|