aboutsummaryrefslogtreecommitdiff
path: root/uuid.go
diff options
context:
space:
mode:
Diffstat (limited to 'uuid.go')
-rw-r--r--uuid.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/uuid.go b/uuid.go
index a70e995..74fbb39 100644
--- a/uuid.go
+++ b/uuid.go
@@ -6,6 +6,8 @@ import (
"strings"
)
+type UUID [16]byte
+
func ParseUUID(s string) (UUID, error) {
s = strings.Replace(s, "-", "", -1)
x, err := hex.DecodeString(s)