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:
parent
1f1ba6fb7a
commit
bb91e0b0e2
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user