From ee9cd5d38e4a3492ef00999cbb09e588cff64665 Mon Sep 17 00:00:00 2001 From: ThePotato97 Date: Wed, 16 May 2018 23:51:42 +0100 Subject: [PATCH] Implemented fix for uuid api More info here https://github.com/satori/go.uuid/issues/66 --- ref.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ref.go b/ref.go index 2530dba..e369fb4 100644 --- a/ref.go +++ b/ref.go @@ -84,5 +84,5 @@ func IsEmptyReference(ref string) bool { // GenerateReference generates a unique string that can be used as a reference // to an Instance. func GenerateReference() string { - return "RBX" + strings.ToUpper(hex.EncodeToString(uuid.NewV4().Bytes())) + return "RBX" + strings.ToUpper(hex.EncodeToString(uuid.Must(uuid.NewV4()).Bytes())) }