use stable uuid def (closes #31)

This commit is contained in:
Alex Goodman 2018-10-27 12:07:28 -04:00
parent 790d5a6dba
commit 5ddaa167be
No known key found for this signature in database
GPG Key ID: 05328C611D8A520E

View File

@ -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
}