Closed abstractj closed 4 years ago
This makes sense.
Must
seems a bit weird, are there any ways we could get around this? Should we follow up on that at some point? Could create an issue for now, it's not blocking
@JoelSpeed the other alternative is to do the traditional error handling. Something like:
uuid, err := uuid.NewV4()
if err !=nil {
//handle the error here
}
//do something with uuid.String()
A bit more verbose, but if you have a strong feeling about using Must
, I can do the refactor. Wdyt?
It would be more correct to take the error and return a 500 I would say
@JoelSpeed ready for another round.
Fixes #611