summaryrefslogtreecommitdiff
path: root/vendor/github.com/google/uuid/hash.go
diff options
context:
space:
mode:
authorLibravatar dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>2024-02-05 09:52:30 +0000
committerLibravatar GitHub <noreply@github.com>2024-02-05 09:52:30 +0000
commitd59cba487fe56c0c91a06717195922b3ed3ee34c (patch)
tree072b2a4230ec6a9d6f9da08547594fa335ae5ec4 /vendor/github.com/google/uuid/hash.go
parent[chore]: Bump github.com/yuin/goldmark from 1.6.0 to 1.7.0 (#2603) (diff)
downloadgotosocial-d59cba487fe56c0c91a06717195922b3ed3ee34c.tar.xz
[chore]: Bump github.com/google/uuid from 1.5.0 to 1.6.0 (#2604)
Diffstat (limited to 'vendor/github.com/google/uuid/hash.go')
-rw-r--r--vendor/github.com/google/uuid/hash.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/vendor/github.com/google/uuid/hash.go b/vendor/github.com/google/uuid/hash.go
index b404f4bec..dc60082d3 100644
--- a/vendor/github.com/google/uuid/hash.go
+++ b/vendor/github.com/google/uuid/hash.go
@@ -17,6 +17,12 @@ var (
NameSpaceOID = Must(Parse("6ba7b812-9dad-11d1-80b4-00c04fd430c8"))
NameSpaceX500 = Must(Parse("6ba7b814-9dad-11d1-80b4-00c04fd430c8"))
Nil UUID // empty UUID, all zeros
+
+ // The Max UUID is special form of UUID that is specified to have all 128 bits set to 1.
+ Max = UUID{
+ 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
+ 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
+ }
)
// NewHash returns a new UUID derived from the hash of space concatenated with