Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(2)

Side by Side Diff: src/pkg/net/rpc/jsonrpc/all_test.go

Issue 5345045: code review 5345045: renaming_3: gofix -r go1pkgrename src/pkg/[m-z]* (Closed)
Patch Set: diff -r 94794514aca0 https://go.googlecode.com/hg/ Created 13 years, 5 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/pkg/net/rpc/debug.go ('k') | src/pkg/net/rpc/jsonrpc/client.go » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2010 The Go Authors. All rights reserved. 1 // Copyright 2010 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style 2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file. 3 // license that can be found in the LICENSE file.
4 4
5 package jsonrpc 5 package jsonrpc
6 6
7 import ( 7 import (
8 "encoding/json"
8 "errors" 9 "errors"
9 "fmt" 10 "fmt"
10 "io" 11 "io"
11 "json"
12 "net" 12 "net"
13 » "rpc" 13 » "net/rpc"
14 "testing" 14 "testing"
15 ) 15 )
16 16
17 type Args struct { 17 type Args struct {
18 A, B int 18 A, B int
19 } 19 }
20 20
21 type Reply struct { 21 type Reply struct {
22 C int 22 C int
23 } 23 }
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 return errors.New("net.Pipe does not support timeouts") 212 return errors.New("net.Pipe does not support timeouts")
213 } 213 }
214 214
215 func (p *pipe) SetReadTimeout(nsec int64) error { 215 func (p *pipe) SetReadTimeout(nsec int64) error {
216 return errors.New("net.Pipe does not support timeouts") 216 return errors.New("net.Pipe does not support timeouts")
217 } 217 }
218 218
219 func (p *pipe) SetWriteTimeout(nsec int64) error { 219 func (p *pipe) SetWriteTimeout(nsec int64) error {
220 return errors.New("net.Pipe does not support timeouts") 220 return errors.New("net.Pipe does not support timeouts")
221 } 221 }
OLDNEW
« no previous file with comments | « src/pkg/net/rpc/debug.go ('k') | src/pkg/net/rpc/jsonrpc/client.go » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b