...
1// Copyright 2021 CUE Authors
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7// http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15package uuid
16
17// Predefined namespaces
18ns: {
19 DNS: "6ba7b810-9dad-11d1-80b4-00c04fd430c8"
20 URL: "6ba7b811-9dad-11d1-80b4-00c04fd430c8"
21 OID: "6ba7b812-9dad-11d1-80b4-00c04fd430c8"
22 X500: "6ba7b814-9dad-11d1-80b4-00c04fd430c8"
23 Nil: "00000000-0000-0000-0000-000000000000"
24}
25
26// Invalid UUID
27variants: Invalid: 0
28// The variant specified in RFC4122
29variants: RFC4122: 1
30// Reserved, NCS backward compatibility.
31variants: Reserved: 2
32// Reserved, Microsoft Corporation backward compatibility.
33variants: Microsoft: 3
34// Reserved for future definition.
35variants: Future: 4
View as plain text