1
0
mirror of https://github.com/golang/go synced 2024-11-25 03:07:56 -07:00

excise some internal references.

R=r
DELTA=209  (65 added, 114 deleted, 30 changed)
OCL=35718
CL=35721
This commit is contained in:
Russ Cox 2009-10-14 13:02:05 -07:00
parent 68c921e25c
commit a68592a4dd
5 changed files with 6 additions and 5 deletions

View 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>

View 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;)

View 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")

BIN
doc/sieve.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

View 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