1
0
mirror of https://github.com/golang/go synced 2024-11-24 23:57:57 -07:00

doc/articles: add {{donotedit}} to templates

R=golang-dev, adg
CC=golang-dev
https://golang.org/cl/5502088
This commit is contained in:
Olivier Duperray 2012-01-03 11:40:58 +11:00 committed by Andrew Gerrand
parent 7f20bcbbcb
commit e4d624b04d
4 changed files with 10 additions and 2 deletions

View File

@ -1,4 +1,8 @@
<!-- Defer, Panic, and Recover -->
<!--
DO NOT EDIT: created by
tmpltohtml articles/defer_panic_recover.tmpl
-->
<p>
Go has the usual mechanisms for control flow: if, for, switch, goto. It also

View File

@ -1,5 +1,5 @@
<!-- Defer, Panic, and Recover -->
{{donotedit}}
<p>
Go has the usual mechanisms for control flow: if, for, switch, goto. It also
has the go statement to run code in a separate goroutine. Here I'd like to

View File

@ -1,4 +1,8 @@
<!-- Error Handling and Go -->
<!--
DO NOT EDIT: created by
tmpltohtml articles/error_handling.tmpl
-->
<p>
If you have written any Go code you have probably encountered the built-in

View File

@ -1,5 +1,5 @@
<!-- Error Handling and Go -->
{{donotedit}}
<p>
If you have written any Go code you have probably encountered the built-in
<code>error</code> type. Go code uses <code>error</code> values to