1
0
mirror of https://github.com/google/uuid.git synced 2025-02-18 12:24:00 +02:00

remove false claim about NewRandom() panic, pointed out in https://github.com/google/uuid/issues/12\#issue-232965368

This commit is contained in:
Martin Lindhe 2017-11-22 06:30:19 +01:00
parent 1f1ba6fb7a
commit bb91e0b0e2

View File

@ -14,7 +14,7 @@ func New() UUID {
return Must(NewRandom())
}
// NewRandom returns a Random (Version 4) UUID or panics.
// NewRandom returns a Random (Version 4) UUID.
//
// The strength of the UUIDs is based on the strength of the crypto/rand
// package.