rpc: golint error with context as last parameter (#16657)

* rpc/*: golint error with context as last parameter

* Update json.go
This commit is contained in:
kiel barry
2018-05-03 01:41:22 -07:00
committed by Péter Szilágyi
parent 541f299fbb
commit 2ad511ce09
3 changed files with 6 additions and 6 deletions

View File

@ -21,7 +21,7 @@ import (
"net"
)
// NewInProcClient attaches an in-process connection to the given RPC server.
// DialInProc attaches an in-process connection to the given RPC server.
func DialInProc(handler *Server) *Client {
initctx := context.Background()
c, _ := newClient(initctx, func(context.Context) (net.Conn, error) {