summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/guuid.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/guuid.go b/src/guuid.go
index 9e3e2ba..7d69fca 100644
--- a/src/guuid.go
+++ b/src/guuid.go
@@ -11,9 +11,9 @@ import (
const (
- uuidByteCount = 16
+ UUIDByteCount = 16
uuidDashCount = 4
- uuidEncodedLength = (uuidByteCount * 2) + uuidDashCount
+ uuidEncodedLength = (UUIDByteCount * 2) + uuidDashCount
)
@@ -30,7 +30,7 @@ var (
-type UUID [uuidByteCount]byte
+type UUID [UUIDByteCount]byte
@@ -99,5 +99,5 @@ func FromString(str string) (UUID, error) {
return emptyUUID, err
}
- return [uuidByteCount]byte(data), nil
+ return [UUIDByteCount]byte(data), nil
}