1
0
mirror of https://github.com/golang/go synced 2024-09-25 11:10:13 -06: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, "")
}