1
0
mirror of https://github.com/golang/go synced 2024-11-12 03:50:21 -07:00
go/doc/codelab/wiki/htmlify.go
2010-04-28 12:36:39 +10:00

13 lines
149 B
Go

package main
import (
"os"
"template"
"io/ioutil"
)
func main() {
b, _ := ioutil.ReadAll(os.Stdin)
template.HTMLFormatter(os.Stdout, b, "")
}