From 6d51fc6c1ea9093da0d74958cb5e805db6f97aed Mon Sep 17 00:00:00 2001 From: Rob Pike Date: Wed, 9 Feb 2011 12:46:34 -0800 Subject: [PATCH] codelab: update due to recent changes in go/printer R=gri, adg CC=golang-dev https://golang.org/cl/4169041 --- doc/codelab/wiki/srcextract.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/doc/codelab/wiki/srcextract.go b/doc/codelab/wiki/srcextract.go index cab092f58bc..c30a0b760f3 100644 --- a/doc/codelab/wiki/srcextract.go +++ b/doc/codelab/wiki/srcextract.go @@ -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 {