1
0
mirror of https://github.com/golang/go synced 2024-11-21 15:44:44 -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{
Mode: 0,
Tabwidth: 8,
Styler: nil,
}
if *html {
p.Mode = printer.GenHTML
}
// create filter
filter := func(name string) bool {