summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2025-05-03 19:41:19 -0300
committerEuAndreh <eu@euandre.org>2025-05-03 19:41:19 -0300
commita6e6896309007fa1013bd51cee125ab8a75f282d (patch)
treef6839c339e9d282138a793488cd8ac23ca356ac6 /src
parenttests/guuid.go: Use os.Exit over assert when testing panic (diff)
downloaduuid-a6e6896309007fa1013bd51cee125ab8a75f282d.tar.gz
uuid-a6e6896309007fa1013bd51cee125ab8a75f282d.tar.xz
re s/guuid/uuid/g
Diffstat (limited to 'src')
-rw-r--r--src/uuid.go (renamed from src/guuid.go)8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/guuid.go b/src/uuid.go
index 22d783a..8b953f8 100644
--- a/src/guuid.go
+++ b/src/uuid.go
@@ -1,4 +1,4 @@
-package guuid
+package uuid
import (
"crypto/rand"
@@ -21,10 +21,10 @@ var (
randomReader = rand.Reader
ErrBadLength = errors.New(
- "guuid: str isn't of the correct length",
+ "uuid: str isn't of the correct length",
)
- ErrBadDashCount = errors.New("guuid: Bad count of dashes in string")
- ErrBadDashPosition = errors.New("guuid: Bad char in string")
+ ErrBadDashCount = errors.New("uuid: Bad count of dashes in string")
+ ErrBadDashPosition = errors.New("uuid: Bad char in string")
)