]> Cypherpunks repositories - gostls13.git/commitdiff
doc: fix wiki codelab title and srcextract.go
authorAndrew Gerrand <adg@golang.org>
Fri, 27 Aug 2010 01:02:54 +0000 (11:02 +1000)
committerAndrew Gerrand <adg@golang.org>
Fri, 27 Aug 2010 01:02:54 +0000 (11:02 +1000)
R=r, rsc1
CC=golang-dev
https://golang.org/cl/1953048

doc/codelab/wiki/index.html
doc/codelab/wiki/srcextract.go
doc/codelab/wiki/wiki.html

index 107e49f2613395ba1a0cca8740b944208e93c68c..e334a5830b9fe394b49816a87ba61b389a052d17 100644 (file)
@@ -1,7 +1,4 @@
-<div class="content">
-
-<h1>Writing Web Applications</h1>
-
+<!-- Codelab: Writing Web Applications -->
 <h2>Introduction</h2>
 
 <p>
@@ -996,5 +993,3 @@ Here are some simple tasks you might want to tackle on your own:
        (hint: you could use <code>regexp.ReplaceAllFunc</code> to do this)
        </li>
 </ul>
-
-</div>
index 607375183cfe63399b7ba940ecdfd9d24f1dd72f..0addc61c4e71c239c32fe4d0398f05ac19b9be87 100644 (file)
@@ -25,7 +25,7 @@ func main() {
                os.Exit(2)
        }
        // load file
-       file, err := parser.ParseFile(*srcFn, nil, nil, 0)
+       file, err := parser.ParseFile(*srcFn, nil, 0)
        if err != nil {
                log.Exit(err)
        }
index c7f44ded4edfad6b89f3217c15bc0066f88e1c75..87b99a9bf184094b14844312e74030e694941a83 100644 (file)
@@ -1,7 +1,4 @@
-<div class="content">
-
-<h1>Writing Web Applications</h1>
-
+<!-- Codelab: Writing Web Applications -->
 <h2>Introduction</h2>
 
 <p>
@@ -782,5 +779,3 @@ Here are some simple tasks you might want to tackle on your own:
        (hint: you could use <code>regexp.ReplaceAllFunc</code> to do this)
        </li>
 </ul>
-
-</div>