diff options
author | Martin Lindhe <martin-commit@ubique.se> | 2017-11-22 06:30:19 +0100 |
---|---|---|
committer | Martin Lindhe <martin-commit@ubique.se> | 2017-11-22 06:30:19 +0100 |
commit | bb91e0b0e28d478ae15f8caad3ab9fa6fd48ab4e (patch) | |
tree | 59b059f3850d4b06bb84bb0b737cf37c57b4bdc1 | |
parent | 1f1ba6fb7a18af3513249fdbdeb6795a98855b68 (diff) | |
download | google-uuid-bb91e0b0e28d478ae15f8caad3ab9fa6fd48ab4e.tar.gz |
remove false claim about NewRandom() panic, pointed out in https://github.com/google/uuid/issues/12\#issue-232965368
-rw-r--r-- | version4.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/version4.go b/version4.go index 74c4e6c..84af91c 100644 --- a/version4.go +++ b/version4.go @@ -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. |