]> Cypherpunks repositories - gostls13.git/commitdiff
excise some internal references.
authorRuss Cox <rsc@golang.org>
Wed, 14 Oct 2009 20:02:05 +0000 (13:02 -0700)
committerRuss Cox <rsc@golang.org>
Wed, 14 Oct 2009 20:02:05 +0000 (13:02 -0700)
R=r
DELTA=209  (65 added, 114 deleted, 30 changed)
OCL=35718
CL=35721

doc/effective_go.html
doc/go_tutorial.html
doc/progs/echo.go
doc/sieve.gif [new file with mode: 0644]
src/pkg/runtime/runtime.h

index 11f6eac51fafa3a0990e77ce4dec914f5db13dd2..11944183d4bab57ea7e8a3de8a8a83747fe8821e 100644 (file)
@@ -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>
index cdf1443e9e646989184e6e92217fcf7ad5c49d41..91bee3fa854086742453a48559dbbd67456e4fa4 100644 (file)
@@ -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;)
index 3ddb4f83e20ed6ad6bd5a5033ae716f2cd5697c1..b2c09d958d21faed84cf1d18a460213dfb6b26ee 100644 (file)
@@ -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 (file)
index 0000000..c33bafd
Binary files /dev/null and b/doc/sieve.gif differ
index fe3194d543b41108f579e085401f5dbffeb8ef51..d45ac504052fc7b478442fa785b0495b02336d51 100644 (file)
@@ -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