-
Notifications
You must be signed in to change notification settings - Fork 113
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update UUIDv7 implementation with RFC Draft Rev 03 spec (#99)
* update UUIDv7 implementation with RFC Draft Rev 03 spec Currently, UUIDv6 and UUIDv7 implementations follow RFC draft rev 02 [1]. However, it has already been updated by RFC draft rev 03 [2] in March 2022. Rev3 updates v6 and v7 and v8 specifications, but the v6 changes seem to have no impact on implementation. Therefore, v6 and (unimplemented) v8 are not affected, so only the UUIDv7 implementation will be updated. [1] https://datatracker.ietf.org/doc/html/draft-peabody-dispatch-new-uuid-format-02 [2] https://datatracker.ietf.org/doc/html/draft-peabody-dispatch-new-uuid-format-03 * Changed to use tn.UnixMilli() to get millisec precision timestamp
- Loading branch information
Showing
4 changed files
with
56 additions
and
501 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.