mirror of
https://github.com/google/uuid.git
synced 2024-11-28 08:49:08 +02:00
Fix type
This commit is contained in:
parent
a34cdf67a6
commit
f3f4b54b2f
2
dce.go
2
dce.go
@ -61,7 +61,7 @@ func (uuid UUID) Domain() Domain {
|
||||
return Domain(uuid[9])
|
||||
}
|
||||
|
||||
// ID returns the id for a Version 2 UUID. ISs are only defined for Version 2
|
||||
// ID returns the id for a Version 2 UUID. IDs are only defined for Version 2
|
||||
// UUIDs.
|
||||
func (uuid UUID) ID() uint32 {
|
||||
return binary.BigEndian.Uint32(uuid[0:4])
|
||||
|
Loading…
Reference in New Issue
Block a user