Skip to content

Commit

Permalink
Merge branch 'master' into monotonicity
Browse files Browse the repository at this point in the history
  • Loading branch information
it512 authored Jan 9, 2024
2 parents 960071a + c58770e commit f27ed75
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions hash.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f27ed75

Please sign in to comment.