summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2009-10-14 13:02:05 -0700
committerRuss Cox <rsc@golang.org>2009-10-14 13:02:05 -0700
commitb3aeb555efb438df25e26413c8472e87517a76e8 (patch)
tree61be8c6ea6f2dfcc239d6ac55de123e6b367496f
parent0d2b13ebbbd20a54c6f0cc048993b104165d85d0 (diff)
downloadgolang-b3aeb555efb438df25e26413c8472e87517a76e8.tar.gz
excise some internal references.
R=r DELTA=209 (65 added, 114 deleted, 30 changed) OCL=35718 CL=35721
-rw-r--r--doc/effective_go.html4
-rw-r--r--doc/go_tutorial.html2
-rw-r--r--doc/progs/echo.go2
-rw-r--r--doc/sieve.gifbin0 -> 11567 bytes
-rw-r--r--src/pkg/runtime/runtime.h3
5 files changed, 6 insertions, 5 deletions
diff --git a/doc/effective_go.html b/doc/effective_go.html
index 11f6eac51..11944183d 100644
--- a/doc/effective_go.html
+++ b/doc/effective_go.html
@@ -1696,8 +1696,10 @@ used by both <code>TestEncoder</code> and <code>TestDecoder</code>.
<p>
This data-driven style dominates in the Go package tests.
+<!--
<br>
-<!-- search for for.*range here -->
+link to go code search for 'for.*range' here
+-->
</p>
<h3 id="reflect.DeepEqual">Use reflect.DeepEqual to compare complex values</h3>
diff --git a/doc/go_tutorial.html b/doc/go_tutorial.html
index cdf1443e9..91bee3fa8 100644
--- a/doc/go_tutorial.html
+++ b/doc/go_tutorial.html
@@ -57,7 +57,7 @@ Next up, here's a version of the Unix utility <code>echo(1)</code>:
<p>
07 import (
08 &quot;os&quot;;
-09 &quot;flag&quot;;
+09 &quot;flag&quot;; // command line option parser
10 )
<p>
12 var n_flag = flag.Bool(&quot;n&quot;, false, &quot;don't print final newline&quot;)
diff --git a/doc/progs/echo.go b/doc/progs/echo.go
index 3ddb4f83e..b2c09d958 100644
--- a/doc/progs/echo.go
+++ b/doc/progs/echo.go
@@ -6,7 +6,7 @@ package main
import (
"os";
- "flag";
+ "flag"; // command line option parser
)
var n_flag = flag.Bool("n", false, "don't print final newline")
diff --git a/doc/sieve.gif b/doc/sieve.gif
new file mode 100644
index 000000000..c33bafd06
--- /dev/null
+++ b/doc/sieve.gif
Binary files differ
diff --git a/src/pkg/runtime/runtime.h b/src/pkg/runtime/runtime.h
index fe3194d54..d45ac5040 100644
--- a/src/pkg/runtime/runtime.h
+++ b/src/pkg/runtime/runtime.h
@@ -413,8 +413,7 @@ void lock(Lock*);
void unlock(Lock*);
/*
- * sleep and wakeup on one-time events, like
- * Notification (but shorter to type).
+ * sleep and wakeup on one-time events.
* before any calls to notesleep or notewakeup,
* must call noteclear to initialize the Note.
* then, any number of threads can call notesleep