From e2280ed682252960d060a585eed10648fa22a544 Mon Sep 17 00:00:00 2001 From: MK Date: Sat, 11 May 2024 22:26:05 -0400 Subject: [PATCH] Update generator.go Co-authored-by: Cameron Ackerman --- generator.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generator.go b/generator.go index 91ab5a7..461322a 100644 --- a/generator.go +++ b/generator.go @@ -292,7 +292,7 @@ func (g *Gen) NewV6() (UUID, error) { binary.BigEndian.PutUint16(u[4:], uint16(timeNow>>12)) // set time_mid binary.BigEndian.PutUint16(u[6:], uint16(timeNow&0xfff)) // set time_low (minus four version bits) - //Based on the RFC 9562 recommendation that this data be fully random and not a monotonic counter, + // Based on the RFC 9562 recommendation that this data be fully random and not a monotonic counter, //we do NOT support batching version 6 UUIDs. //set clock_seq (14 bits) and node (48 bits) pseudo-random bits (first 2 bits will be overridden) if _, err = io.ReadFull(g.rand, u[8:]); err != nil {