golifx
golifx copied to clipboard
Fix for new uuid version
Attempting to build is currently throwing the following message.
# github.com/pdf/golifx/common
common/subscription.go:69:23: multiple-value uuid.NewV4() in single-value context
The interface of the satori/go.uuid
package changed such that there is the potential to return an error. I've made the code simply panic in this case as this is something that should basically never happen unless the random number generator fails - in which case you likely have bigger problems.