amqp
amqp copied to clipboard
uuid.NewV4() returns 2 values instead of 1
First of all, thanks for this great repo!
I noticed when trying to run one of the examples that an error will be thrown:
../../rpc/client.go:185:19: multiple-value uuid.NewV4() in single-value context
This seems to be due to an update on the github.com/satori/go.uuid package which made uuid.NewV4() return a possible error too instead of only a string.
Since the code in client.go uses:
func newCorrId() string { return uuid.NewV4().String() }
the .string()
will not work anymore.
Thank you for your feedback and sorry for the late answer. I created this repo just for fun when studying golang so I do not maintain it. Feel free to create PRs with any changes. Right now I'm pretty busy and don't have time to fix but I will do when having some time (maybe next week)