sample-rpc-go
sample-rpc-go copied to clipboard
compile error
main.go line 84 causes a compile error, please check
change client.go line91 from: func (c *Client) Execute(ctx context.Context, name string) (msg string, err error) {
to func (c *Client) Execute(name string) (msg string, err error) {
will make the compile pass, it seems ctx is not used in Execute function, why keep it in the arguments?
Hey @huahuayu ,
you're right! It's not being used.
Could you please send a PR addressing that?
thx!
do it later