commit | e704694aed0ea004bb7eb1fc2e911d048a54606a | [log] [tgz] |
---|---|---|
author | pborman <paul@borman.com> | Tue Aug 28 13:15:55 2018 -0500 |
committer | GitHub <noreply@github.com> | Tue Aug 28 13:15:55 2018 -0500 |
tree | 8815f64fd09bfb6edac6c3a839424ac2225bb55c | |
parent | 7cf75050e9d999fdd02b7f4e46d90ce175bc9c4c [diff] | |
parent | 81e4ea783361094e5a129567e989d83620930cfb [diff] |
Merge pull request #35 from OrlovEvgeny/master edit slice
diff --git a/uuid.go b/uuid.go index b8d756d..920dadf 100644 --- a/uuid.go +++ b/uuid.go
@@ -140,7 +140,7 @@ } func encodeHex(dst []byte, uuid UUID) { - hex.Encode(dst[:], uuid[:4]) + hex.Encode(dst, uuid[:4]) dst[8] = '-' hex.Encode(dst[9:13], uuid[4:6]) dst[13] = '-'