I expected to see the same string values to args and reply(both are interface type) after successfully calling client.Call(). Since i assigned same value at line number 20 as shown in HTTP RPC server example
What did you see instead?
After calling client.Call() args and reply string values are different. I see only reply get modified but not args.
The text was updated successfully, but these errors were encountered:
I interpret that as T1 being immutable through the RPC. I would be surprised if T1 was mutated even when it is a pointer. The Arith example uses both arguments as pointer types, perhaps this suggests mutability.