From e4d624b04d833c194dd70df1c20318fe90472278 Mon Sep 17 00:00:00 2001 From: Olivier Duperray Date: Tue, 3 Jan 2012 11:40:58 +1100 Subject: [PATCH] doc/articles: add {{donotedit}} to templates R=golang-dev, adg CC=golang-dev https://golang.org/cl/5502088 --- doc/articles/defer_panic_recover.html | 4 ++++ doc/articles/defer_panic_recover.tmpl | 2 +- doc/articles/error_handling.html | 4 ++++ doc/articles/error_handling.tmpl | 2 +- 4 files changed, 10 insertions(+), 2 deletions(-) diff --git a/doc/articles/defer_panic_recover.html b/doc/articles/defer_panic_recover.html index 06f7685d48..86144fdc2c 100644 --- a/doc/articles/defer_panic_recover.html +++ b/doc/articles/defer_panic_recover.html @@ -1,4 +1,8 @@ +

Go has the usual mechanisms for control flow: if, for, switch, goto. It also diff --git a/doc/articles/defer_panic_recover.tmpl b/doc/articles/defer_panic_recover.tmpl index 90c2b95c09..780040a7d8 100644 --- a/doc/articles/defer_panic_recover.tmpl +++ b/doc/articles/defer_panic_recover.tmpl @@ -1,5 +1,5 @@ - +{{donotedit}}

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 diff --git a/doc/articles/error_handling.html b/doc/articles/error_handling.html index 1a69324107..2b9e84c3cd 100644 --- a/doc/articles/error_handling.html +++ b/doc/articles/error_handling.html @@ -1,4 +1,8 @@ +

If you have written any Go code you have probably encountered the built-in diff --git a/doc/articles/error_handling.tmpl b/doc/articles/error_handling.tmpl index 75800ae21a..508885a8fd 100644 --- a/doc/articles/error_handling.tmpl +++ b/doc/articles/error_handling.tmpl @@ -1,5 +1,5 @@ - +{{donotedit}}

If you have written any Go code you have probably encountered the built-in error type. Go code uses error values to -- 2.48.1