mirror of
https://github.com/golang/go
synced 2024-11-25 16:07:56 -07:00
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, "")
|
||
|
}
|