google / uuid

Go package for UUIDs based on RFC 4122 and DCE 1.1: Authentication and Security Services.
BSD 3-Clause "New" or "Revised" License
5.33k stars 369 forks source link

A generic Must function #3

Closed bmatsuo closed 8 years ago

bmatsuo commented 8 years ago
    uuid.Must(uuid.Parse(s))
    uuid.Must(uuid.NewUUID())
pborman commented 8 years ago

Would remove json.go from your pull request? Other than that, it looks pretty good. (sorry for pulling json.go out from under you, it was not supposed to still be there).

bmatsuo commented 8 years ago

Oops. Of course. I have rebased the changes.

pborman commented 8 years ago

Thanks!