node: all golint warnings fixed (#16773)

* node: all golint warnings fixed

* node: rm per peter

* node: rm per peter
This commit is contained in:
kiel barry authored and Péter Szilágyi committed 2018-05-22 10:29:41 +03:00
1 parent 09d44247f7
commit 9af364e42b
3 files changed
+6 -6

No files matched your search

+2 -2
View File
@@ -507,8 +507,8 @@ func TestAPIGather(t *testing.T) {
}
// Register a batch of services with some configured APIs
calls := make(chan string, 1)
makeAPI := func(result string) *OneMethodApi {
return &OneMethodApi{fun: func() { calls <- result }}
makeAPI := func(result string) *OneMethodAPI {
return &OneMethodAPI{fun: func() { calls <- result }}
}
services := map[string]struct {
APIs []rpc.API