Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
golang
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
golang
Commits
b59dbd7f
Commit
b59dbd7f
authored
Jan 30, 2009
by
Rob Pike
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rename variable at rsc's request
R=rsc DELTA=4 (0 added, 0 deleted, 4 changed) OCL=23896 CL=23928
parent
96777ea2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
server.go
doc/progs/server.go
+2
-2
server1.go
doc/progs/server1.go
+2
-2
No files found.
doc/progs/server.go
View file @
b59dbd7f
...
@@ -12,8 +12,8 @@ type request struct {
...
@@ -12,8 +12,8 @@ type request struct {
type
binOp
(
a
,
b
int
)
int
;
type
binOp
(
a
,
b
int
)
int
;
func
run
(
op
*
binOp
,
req
*
request
)
{
func
run
(
op
*
binOp
,
req
*
request
)
{
re
sult
:=
op
(
req
.
a
,
req
.
b
);
re
ply
:=
op
(
req
.
a
,
req
.
b
);
req
.
replyc
<-
re
sult
;
req
.
replyc
<-
re
ply
;
}
}
func
server
(
op
*
binOp
,
service
chan
*
request
)
{
func
server
(
op
*
binOp
,
service
chan
*
request
)
{
...
...
doc/progs/server1.go
View file @
b59dbd7f
...
@@ -12,8 +12,8 @@ type request struct {
...
@@ -12,8 +12,8 @@ type request struct {
type
binOp
(
a
,
b
int
)
int
;
type
binOp
(
a
,
b
int
)
int
;
func
run
(
op
*
binOp
,
req
*
request
)
{
func
run
(
op
*
binOp
,
req
*
request
)
{
re
sult
:=
op
(
req
.
a
,
req
.
b
);
re
ply
:=
op
(
req
.
a
,
req
.
b
);
req
.
replyc
<-
re
sult
;
req
.
replyc
<-
re
ply
;
}
}
func
server
(
op
*
binOp
,
service
chan
*
request
,
quit
chan
bool
)
{
func
server
(
op
*
binOp
,
service
chan
*
request
,
quit
chan
bool
)
{
...
...
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