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
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
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
doc/progs/server.go
doc/progs/server.go
+2
-2
doc/progs/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 {
type
binOp
(
a
,
b
int
)
int
;
func
run
(
op
*
binOp
,
req
*
request
)
{
re
sult
:=
op
(
req
.
a
,
req
.
b
);
req
.
replyc
<-
re
sult
;
re
ply
:=
op
(
req
.
a
,
req
.
b
);
req
.
replyc
<-
re
ply
;
}
func
server
(
op
*
binOp
,
service
chan
*
request
)
{
...
...
doc/progs/server1.go
View file @
b59dbd7f
...
...
@@ -12,8 +12,8 @@ type request struct {
type
binOp
(
a
,
b
int
)
int
;
func
run
(
op
*
binOp
,
req
*
request
)
{
re
sult
:=
op
(
req
.
a
,
req
.
b
);
req
.
replyc
<-
re
sult
;
re
ply
:=
op
(
req
.
a
,
req
.
b
);
req
.
replyc
<-
re
ply
;
}
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