golifx icon indicating copy to clipboard operation
golifx copied to clipboard

Fix for new uuid version

Open donatj opened this issue 5 years ago • 1 comments

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.

donatj avatar Sep 03 '18 03:09 donatj