1
0
mirror of https://github.com/golang/go synced 2024-11-24 21:00:09 -07:00

codelab: update due to recent changes in go/printer

R=gri, adg
CC=golang-dev
https://golang.org/cl/4169041
This commit is contained in:
Rob Pike 2011-02-09 12:46:34 -08:00
parent 1cc8c87dc1
commit 6d51fc6c1e

View File

@ -35,10 +35,6 @@ func main() {
p := &printer.Config{ p := &printer.Config{
Mode: 0, Mode: 0,
Tabwidth: 8, Tabwidth: 8,
Styler: nil,
}
if *html {
p.Mode = printer.GenHTML
} }
// create filter // create filter
filter := func(name string) bool { filter := func(name string) bool {