diff options
author | EuAndreh <eu@euandre.org> | 2025-01-15 04:43:38 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2025-01-15 04:43:38 -0300 |
commit | 9ae62b4cfca6293d4a83cc0242c54e5eac1cf47b (patch) | |
tree | a7d6a7380d7bbc60f2cf9a9142371b4cf404dcad /src/guuid.go | |
parent | tests/guuid.go: Add test for panic inside New() (diff) | |
download | uuid-9ae62b4cfca6293d4a83cc0242c54e5eac1cf47b.tar.gz uuid-9ae62b4cfca6293d4a83cc0242c54e5eac1cf47b.tar.xz |
Makefile: Simplify variable names
Diffstat (limited to 'src/guuid.go')
-rw-r--r-- | src/guuid.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/guuid.go b/src/guuid.go index e4f5f14..22d783a 100644 --- a/src/guuid.go +++ b/src/guuid.go @@ -20,7 +20,9 @@ var ( dashIndexes = []int{ 8, 13, 18, 23 } randomReader = rand.Reader - ErrBadLength = errors.New("guuid: str isn't of the correct length") + ErrBadLength = errors.New( + "guuid: 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") ) |