]> Cypherpunks repositories - gostls13.git/commitdiff
codelab: update due to recent changes in go/printer
authorRob Pike <r@golang.org>
Wed, 9 Feb 2011 20:46:34 +0000 (12:46 -0800)
committerRob Pike <r@golang.org>
Wed, 9 Feb 2011 20:46:34 +0000 (12:46 -0800)
R=gri, adg
CC=golang-dev
https://golang.org/cl/4169041

doc/codelab/wiki/srcextract.go

index cab092f58bc5b954b5374dd4158f35bfecb4acc9..c30a0b760f3484bd175ddea1f8cec81acd6fc04f 100644 (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 {