Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
go
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
go
Commits
a68592a4
Commit
a68592a4
authored
Oct 14, 2009
by
Russ Cox
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
excise some internal references.
R=r DELTA=209 (65 added, 114 deleted, 30 changed) OCL=35718 CL=35721
parent
68c921e2
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
5 deletions
+6
-5
doc/effective_go.html
doc/effective_go.html
+3
-1
doc/go_tutorial.html
doc/go_tutorial.html
+1
-1
doc/progs/echo.go
doc/progs/echo.go
+1
-1
doc/sieve.gif
doc/sieve.gif
+0
-0
src/pkg/runtime/runtime.h
src/pkg/runtime/runtime.h
+1
-2
No files found.
doc/effective_go.html
View file @
a68592a4
...
@@ -1696,8 +1696,10 @@ used by both <code>TestEncoder</code> and <code>TestDecoder</code>.
...
@@ -1696,8 +1696,10 @@ used by both <code>TestEncoder</code> and <code>TestDecoder</code>.
<p>
<p>
This data-driven style dominates in the Go package tests.
This data-driven style dominates in the Go package tests.
<!--
<br>
<br>
<!-- search for for.*range here -->
link to go code search for 'for.*range' here
-->
</p>
</p>
<h3
id=
"reflect.DeepEqual"
>
Use reflect.DeepEqual to compare complex values
</h3>
<h3
id=
"reflect.DeepEqual"
>
Use reflect.DeepEqual to compare complex values
</h3>
...
...
doc/go_tutorial.html
View file @
a68592a4
...
@@ -57,7 +57,7 @@ Next up, here's a version of the Unix utility <code>echo(1)</code>:
...
@@ -57,7 +57,7 @@ Next up, here's a version of the Unix utility <code>echo(1)</code>:
<p>
<p>
07 import (
07 import (
08
"
os
"
;
08
"
os
"
;
09
"
flag
"
;
09
"
flag
"
;
// command line option parser
10 )
10 )
<p>
<p>
12 var n_flag = flag.Bool(
"
n
"
, false,
"
don't print final newline
"
)
12 var n_flag = flag.Bool(
"
n
"
, false,
"
don't print final newline
"
)
...
...
doc/progs/echo.go
View file @
a68592a4
...
@@ -6,7 +6,7 @@ package main
...
@@ -6,7 +6,7 @@ package main
import
(
import
(
"os"
;
"os"
;
"flag"
;
"flag"
;
// command line option parser
)
)
var
n_flag
=
flag
.
Bool
(
"n"
,
false
,
"don't print final newline"
)
var
n_flag
=
flag
.
Bool
(
"n"
,
false
,
"don't print final newline"
)
...
...
doc/sieve.gif
0 → 100644
View file @
a68592a4
11.3 KB
src/pkg/runtime/runtime.h
View file @
a68592a4
...
@@ -413,8 +413,7 @@ void lock(Lock*);
...
@@ -413,8 +413,7 @@ void lock(Lock*);
void
unlock
(
Lock
*
);
void
unlock
(
Lock
*
);
/*
/*
* sleep and wakeup on one-time events, like
* sleep and wakeup on one-time events.
* Notification (but shorter to type).
* before any calls to notesleep or notewakeup,
* before any calls to notesleep or notewakeup,
* must call noteclear to initialize the Note.
* must call noteclear to initialize the Note.
* then, any number of threads can call notesleep
* then, any number of threads can call notesleep
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment