uuid
uuid copied to clipboard
A UUID package originally forked from github.com/satori/go.uuid
Apologies if I am missing something, but it appears the current implementation of `TimestampFromV7()` uses the Gregorian epoch timestamp as opposed to unix: https://github.com/gofrs/uuid/blob/22c52c268bc0dcc0569793f5b1433db423f5a9c6/uuid.go#L156 https://github.com/gofrs/uuid/blob/22c52c268bc0dcc0569793f5b1433db423f5a9c6/generator.go#L37-L39 The draft states: > unix_ts_ms:...
still think using function is better than var in this case. fixes #120
the opposite of the nil, its useful constant to have around. i'll also note both should be better served by functions as global vars are mutable.
6 -> 7
Hi! First of all, thanks for the library! AFAIK the new UUID drafts didn't change the ~~uuidv6~~ / uuidv7 implementations, the README could be updated to say that this library...
On 2022-10-17, the IETF uuidrev workgroup published a new draft that replaces peabody draft 04. On 2023-11-06, they released draft 14. This PR updates this project to implement the newest...
This is a possible fix for issue https://github.com/gofrs/uuid/issues/86. I have added two custom error types that can be used to check if an error is coming from the uuid package....
This PR implements the request in #84 to be able to create UUIDs at specific known timestamps, in addition to the current time. Although that request only mentions UUIDv1, this...
This PR creates a security policy based off of recommendations from the OpenSSF Scorecard. A security policy may seem gratuitous, but its worthwhile to remember that this library was born...
This PR implements #147. Now, we use the fuzz test features built into `go test`. This PR also replaces the `go-fuzz` tests and their accompanying corpus.