ID returns the id for a Version 2 UUID. IDs are only defined for Version 2 UUIDs.
()
| 64 | // ID returns the id for a Version 2 UUID. IDs are only defined for Version 2 |
| 65 | // UUIDs. |
| 66 | func (uuid UUID) ID() uint32 { |
| 67 | return binary.BigEndian.Uint32(uuid[0:4]) |
| 68 | } |
| 69 | |
| 70 | func (d Domain) String() string { |
| 71 | switch d { |