- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for replyMap (0.17 sec)
-
src/net/rpc/server_test.go
} defer client.Close() // Map args := &Args{7, 8} replyMap := map[int]int{} err = client.Call("BuiltinTypes.Map", args, &replyMap) if err != nil { t.Errorf("Map: expected no error but got string %q", err.Error()) } if replyMap[args.A] != args.B { t.Errorf("Map: expected %d got %d", args.B, replyMap[args.A]) } // Slice args = &Args{7, 8} replySlice := []int{}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jul 18 05:23:29 UTC 2023 - 19K bytes - Viewed (0)