mirror of
https://github.com/golang/go
synced 2024-11-21 16:04:45 -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:
parent
61c93cac3e
commit
b2b29814bf
@ -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() {
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user