From b3aeb555efb438df25e26413c8472e87517a76e8 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Wed, 14 Oct 2009 13:02:05 -0700 Subject: excise some internal references. R=r DELTA=209 (65 added, 114 deleted, 30 changed) OCL=35718 CL=35721 --- doc/effective_go.html | 4 +++- doc/go_tutorial.html | 2 +- doc/progs/echo.go | 2 +- doc/sieve.gif | Bin 0 -> 11567 bytes src/pkg/runtime/runtime.h | 3 +-- 5 files changed, 6 insertions(+), 5 deletions(-) create mode 100644 doc/sieve.gif 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 TestEncoder and TestDecoder.

This data-driven style dominates in the Go package tests. + +link to go code search for 'for.*range' here +-->

Use reflect.DeepEqual to compare complex values

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 echo(1):

07 import ( 08 "os"; -09 "flag"; +09 "flag"; // command line option parser 10 )

12 var n_flag = flag.Bool("n", false, "don't print final newline") 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 Binary files /dev/null and b/doc/sieve.gif 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 -- cgit v1.2.3