1
0
mirror of https://github.com/golang/go synced 2024-11-21 22:24:40 -07:00

Codelab/wiki: fix typo

Missing closing bracket renders the next code snippet unreadable.

R=adg, gri
CC=golang-dev
https://golang.org/cl/4119060
This commit is contained in:
Andrey Mirtchovski 2011-02-07 11:51:17 -08:00 committed by Robert Griesemer
parent 61c93cac3e
commit b2b29814bf
2 changed files with 2 additions and 2 deletions

View File

@ -710,7 +710,7 @@ Then we create an <code>init</code> function, which will be called before
<code>ParseFile</code> that does not return an error code; instead, it panics
if an error is encountered. A panic is appropriate here; if the templates can't
be loaded the only sensible thing to do is exit the program.
</p
</p>
<pre>
func init() {

View File

@ -574,7 +574,7 @@ Then we create an <code>init</code> function, which will be called before
<code>ParseFile</code> that does not return an error code; instead, it panics
if an error is encountered. A panic is appropriate here; if the templates can't
be loaded the only sensible thing to do is exit the program.
</p
</p>
<pre>
!./srcextract.bin -src=final.go -name=init