From 5ddaa167be6cc1bb124e9e1fbbd98592deb22f33 Mon Sep 17 00:00:00 2001 From: Alex Goodman Date: Sat, 27 Oct 2018 12:07:28 -0400 Subject: [PATCH] use stable uuid def (closes #31) --- filetree/tree.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/filetree/tree.go b/filetree/tree.go index 4a6f32ca..41df47ad 100644 --- a/filetree/tree.go +++ b/filetree/tree.go @@ -2,7 +2,7 @@ package filetree import ( "fmt" - "github.com/satori/go.uuid" + "github.com/google/uuid" "github.com/sirupsen/logrus" "sort" "strings" @@ -36,7 +36,7 @@ func NewFileTree() (tree *FileTree) { tree.Root = new(FileNode) tree.Root.Tree = tree tree.Root.Children = make(map[string]*FileNode) - tree.Id = uuid.Must(uuid.NewV4()) + tree.Id = uuid.New() return tree }