spidey
spidey copied to clipboard
What if i want to go call account service from order service
currently i'm inside repository of order service and want to call function written in repository of account service how can i do this ??
Use an account client. https://github.com/tinrab/spidey/blob/72ed153260af51491d7749ba09559f5e9c8c550c/order/server.go#L25 You could pass it to order service and execute RPC there.