summaryrefslogtreecommitdiff
path: root/src/guuid.go
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2024-10-19 17:08:39 -0300
committerEuAndreh <eu@euandre.org>2024-10-19 17:08:52 -0300
commit7da1d0b82bcf507fe111da30bf7c9033afcecdfc (patch)
tree3f64ed0d78bb93725ed5819e3493925daff8c641 /src/guuid.go
parentAdd noop mkdeps.sh and empty deps.mk (diff)
downloaduuid-7da1d0b82bcf507fe111da30bf7c9033afcecdfc.tar.gz
uuid-7da1d0b82bcf507fe111da30bf7c9033afcecdfc.tar.xz
src/guuid.go: Remove NewBytes()
Diffstat (limited to '')
-rw-r--r--src/guuid.go5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/guuid.go b/src/guuid.go
index b8cf5fe..f4c6d7b 100644
--- a/src/guuid.go
+++ b/src/guuid.go
@@ -50,11 +50,6 @@ func New() UUID {
return uuid
}
-func NewBytes() []byte {
- id := New()
- return id[:]
-}
-
func (uuid UUID) String() string {
dst := [encodedLength]byte {
0, 0, 0, 0,