1
0
mirror of https://github.com/golang/go synced 2024-11-22 17:44:46 -07:00
go/doc/codelab/wiki/htmlify.go

13 lines
149 B
Go
Raw Normal View History

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