Andrey Pechkurov
655bf50db9
Add randomness pool mode for V4 UUID ( #80 )
...
* Add randomness pool mode for V4 UUID
Adds an optional randomness pool mode for Random (Version 4)
UUID generation. The pool contains random bytes read from
the random number generator on demand in batches. Enabling
the pool may improve the UUID generation throughput
significantly.
Since the pool is stored on the Go heap, this feature may
be a bad fit for security sensitive applications. That's
why it's implemented as an opt-in feature.
* fixup! document thread-safety aspects
2021-07-08 10:05:48 -05:00
jackterm
bfb86fa49a
Add NewString Func ( #73 )
...
* added utility func
* updated docs & function call
2021-01-22 12:20:15 -06:00
Andy Pan
bd45158498
Resolved code issues of gofmt and golint ( #55 )
...
* Resolved code issues of gofmt and golint
Code quality: https://goreportcard.com/report/github.com/google/uuid
* Fix typo
* Update comment
2020-03-30 20:53:17 -05:00
talis
f00b2048a8
remove uuid_source
2019-03-13 22:16:45 +02:00
talis
63b66ddfe0
reused version4 NewRandom() and added better testing
2019-02-28 14:59:24 +02:00
Martin Lindhe
bb91e0b0e2
remove false claim about NewRandom() panic, pointed out in https://github.com/google/uuid/issues/12\#issue-232965368
2017-11-22 06:30:19 +01:00
Konstantin Scheumann
0614758b5f
Typos suggested by @corburn
2017-07-28 14:14:46 +02:00
Boris
264af6d852
version4: Typo in 'New' doc
...
Remove redundant 'is'.
2017-07-07 12:56:32 +02:00
Paul Borman
834b00a6a5
Bring naming of exported values inline with current Go practice.
2016-02-29 06:04:36 -08:00
Bryan Matsuo
2d45679b04
cosmetic change for NIL return value
2016-02-25 20:56:08 -08:00
Bryan Matsuo
8748089bb5
create NewRandom func consistent with other version constructors
...
The New function is kept for convenience and relies on the NewRandom
function.
2016-02-25 20:56:08 -08:00
Paul Borman
9e951e1b07
Change a UUID from []byte to [16]byte along with other API changes.
2016-02-19 12:30:25 -08:00
Paul Borman
2a573a0b4d
Move code up one directory
2015-06-03 14:39:07 -07:00
Paul Borman
808d470594
uuid: source re-organization
...
Move source to uuid subdirectory.
Add in coderviewability.
R=rsc
CC=borman
http://codereview.appspot.com/4838053
2011-08-08 14:34:29 -07:00
Paul Borman
e130d97558
Initial checking of the go-uuid code.
2011-08-08 11:45:10 -07:00