1
0
mirror of https://github.com/google/uuid.git synced 2024-11-24 08:32:23 +02:00
This commit is contained in:
Paul Borman 2016-02-29 06:24:49 -08:00
parent a34cdf67a6
commit f3f4b54b2f

2
dce.go
View File

@ -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])