mirror of
https://github.com/wagoodman/dive
synced 2026-03-14 22:35:50 +01:00
use stable uuid def (closes #31)
This commit is contained in:
parent
790d5a6dba
commit
5ddaa167be
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue