mirror of
https://github.com/golang/go
synced 2024-11-21 21:34:40 -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:
parent
1cc8c87dc1
commit
6d51fc6c1e
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user