Skip to content

Commit

Permalink
use stable uuid def (closes #31)
Browse files Browse the repository at this point in the history
  • Loading branch information
wagoodman committed Oct 27, 2018
1 parent 790d5a6 commit 5ddaa16
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions filetree/tree.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package filetree

import (
"fmt"
"github.com/satori/go.uuid"
"github.com/google/uuid"
"github.com/sirupsen/logrus"
"sort"
"strings"
Expand Down Expand Up @@ -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
}

Expand Down

0 comments on commit 5ddaa16

Please sign in to comment.