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:
committed by
Péter Szilágyi
parent
541f299fbb
commit
2ad511ce09
@ -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) {
|
||||
|
Reference in New Issue
Block a user