mirror of
https://github.com/golang/go.git
synced 2025-05-05 23:53:05 +00:00
It's already in old/template; make that build. Update a couple of references to point to the old template. They can be updated later. Update goplay to use exp/template. R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/4902046
13 lines
153 B
Go
13 lines
153 B
Go
package main
|
|
|
|
import (
|
|
"old/template"
|
|
"os"
|
|
"io/ioutil"
|
|
)
|
|
|
|
func main() {
|
|
b, _ := ioutil.ReadAll(os.Stdin)
|
|
template.HTMLFormatter(os.Stdout, "", b)
|
|
}
|